facebook

glassfish – server config

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #276841 Reply

    pmurray
    Member

    Two problems.

    I have a glasfish installation with two domains – DEV and domain1. How do I set them up in myeclipse? It’s easy enough with eclipse europa, but myeclipse does not seem to have a “add a server” button – the list is fixed and you can only pick one.

    Secondly, when I attempt to start domain1, I get a

    
    12/10/2007 13:19:59 com.sun.enterprise.server.ss.ASLazyKernel startASSocketServices
    SEVERE: UnknownException during startup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
    java.lang.NullPointerException
        at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigModel(ServerBeansFactory.java:77)
        at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigBean(ServerBeansFactory.java:111)
        at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:132)
        at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:99)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:92)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
    

    The installation is fine – I can start and stop it with ASADMIN no worries.

    The server config also seems to be fine:
    Home dir: D:\Java\glassfish
    Config dir: D:\Java\glassfish\config
    Server: localhost
    domain: domain1
    domain dir: D:\Java\glassfish\domains\domain1
    optional arguments: -Dcom.sun.enterprise.server.ss.ASQuickStartup=false

    Any ideas?

    #276864

    Riyad Kalla
    Member

    pmurray,
    You can setup separate launch configurations for each domain by clicking the “Create Launch Configuration”, from there you can configure the launch configuration how you’d like to launch the appropriate domain.

    You will need to use the Run/Debug menu drop downs from the toolbar to use the launch config though and not use the standard connector controls.

    Also, I’m not sure why Glassfish is having trouble starting up, it’s a server we use a lot around here so I know a default install of Glassfish 2 for example with JDK 1.6.0_02 runs great out of the box.

    Which build of Glassfish are you using? Which JDK have you configured the connector to launch it with?

    #282782

    haibei
    Member

    I had exactly the same problem.

    Your server name must be “server”, which is default value. Don’t change to “localhost” or any other value.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: glassfish – server config

You must be logged in to post in the forum log in