users@glassfish.java.net

Glassfish cannot be started(CLI156 Could not start the domain domain1)

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Aug 2008 03:28:53 PDT

Hi All,
    I just installed a Glassfish V2 UR2 on my Sun Solaris.
However, Glassfish couldn't be started up due to CLI156 error.
In log, it indicates Glassfish is unable to bind port 0. No matter what port I changed for all associated ports, Glassfish couldn't be started up.
It's appreciated, if anyone has any solution. Thank you very much!

Richard Tsai

==============================================================
Environment
==============================================================
OS: SunOS 5.10(Solaris 10 5/08 s10s_u5wos_10 SPARC).
Glassfish: V2 UR2
JDK: 1.6.0_10

==============================================================
Console message
==============================================================
$ asadmin start-domain domain1
Starting Domain domain1, please wait.
Log redirected to /vol01/sun/glassfish/domains/domain1/logs/server.log.
Redirecting output to
/vol01/sun/glassfish/domains/domain1/logs/server.log
Timeout waiting for domain domain1 to go to starting state.
CLI156 Could not start the domain domain1.

==============================================================
Server.log
==============================================================
[#|2008-08-05T14:43:11.951+0800|INFO|sun-appserver9.1|javax.enterprise.system.co
re|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.Dynam
icInterceptor;|MBeanServer started: com.sun.enterprise.interceptor.DynamicInterc
eptor|#]

[#|2008-08-05T14:46:59.348+0800|WARNING|sun-appserver9.1|javax.enterprise.system
.tools.admin|_ThreadID=10;_ThreadName=main;|ADM5801:Admin server channel creatio
n failed.|#]

[#|2008-08-05T14:46:59.370+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.
core|_ThreadID=10;_ThreadName=main;|UnknownException during startup. Disable qui
ck startup by setting system property com.sun.enterprise.server.ss.ASQuickStartu
p to false
com.sun.appserv.server.ServerLifecycleException: java.rmi.server.ExportException
: Port already in use: 0; nested exception is:
        java.net.BindException: Cannot assign requested address
[Message sent by forum member 'richard_tsai' (richard_tsai)]

http://forums.java.net/jive/thread.jspa?messageID=294112