File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Glassfish CLI156 Could not start the domain domain1 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Glassfish CLI156 Could not start the domain domain1 error" Watch "Glassfish CLI156 Could not start the domain domain1 error" New topic
Author

Glassfish CLI156 Could not start the domain domain1 error

Ionut Barau
Greenhorn

Joined: Feb 18, 2008
Posts: 20
I am having a problem with glassfish v2.1.I've just installed it the third time.I think I am doing it right.When I start the domain with asadmin start-domain domain1 command but I get CLI156 Could not start the domain domain1.Can someone help me with this?!I just can figure it out.Many thanks.
Ionut Barau
Greenhorn

Joined: Feb 18, 2008
Posts: 20
This is from server.log:
#|2009-07-06T21:56:14.893+0300|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=751cc251-aee7-482c-b015-22f38c3c039a;|CORE5061: Exception :
java.lang.NullPointerException
at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
at com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:277)
at com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:496)
at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:591)
at com.sun.enterprise.server.PEMain.run(PEMain.java:432)
at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
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:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
|#]

[#|2009-07-06T21:56:14.893+0300|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=751cc251-aee7-482c-b015-22f38c3c039a;|Server stopped due to Server startup failure.|#]
Sumit Kumar Tyagi
Greenhorn

Joined: Sep 14, 2009
Posts: 2
This will be the port avilablety problem. The port required by glassfish server are not free.
Check weather all the port required by glassfish are free or not.
Dave London
Greenhorn

Joined: Sep 21, 2009
Posts: 1
Hi Guys,

Dont know if this helps anyone, but i found that the GlassFish throws this after a MAC OS-X upgrade to Snow Leopard ... it seems the upgrade destroys symbolic links to the JVM that are recorded when you install it.

I eventually gave up and reinstalled Glassfish allowing it to rebuild the links.

Cheers
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Glassfish CLI156 Could not start the domain domain1 error
 
Similar Threads
J2EE application server
When I am starting default server I got following exception ( in sun java application server 8 PE)
Why failed to start server?
GlassFish: CLI156 Could not start the domain domain1
starting default server