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?