For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 2 replies, 3 voices, and was last updated 18 years ago by
haibei.
-
AuthorPosts
-
pmurrayMemberTwo 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=falseAny ideas?
October 12, 2007 at 11:18 am #276864
Riyad KallaMemberpmurray,
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?
March 11, 2008 at 12:08 pm #282782
haibeiMemberI had exactly the same problem.
Your server name must be “server”, which is default value. Don’t change to “localhost” or any other value.
-
AuthorPosts
