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 13:04:49 PDT

Hi All,
I just installed a Glassfish V2 UR2 on my Debian Lenny AMD64.
However, Glassfish couldn't be started up due to CLI156 error.
It's appreciated, if anyone has any solution. Thank you very much!

Alvaro Peredo
==============================================================
Environment
==============================================================
OS: Debian Lenny (Debian 2.6.25-2-amd64).
Glassfish: V2 UR2
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)

==============================================================
Console message
==============================================================
$ ./asadmin start-domain domain1
19-08-2008 03:03:23 PM com.sun.enterprise.util.ASenvPropertyReader setSystemProperties
GRAVE: property_reader.unknownHost
java.net.UnknownHostException: bolpiilinux2: bolpiilinux2
        at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
        at com.sun.enterprise.util.net.NetUtils.getCanonicalHostName(NetUtils.java:102)
        at com.sun.enterprise.util.ASenvPropertyReader.setSystemProperties(ASenvPropertyReader.java:201)
        at com.sun.enterprise.cli.commands.S1ASCommand.<init>(S1ASCommand.java:164)
        at com.sun.enterprise.cli.commands.BaseLifeCycleCommand.<init>(BaseLifeCycleCommand.java:101)
        at com.sun.enterprise.cli.commands.StartDomainCommand.<init>(StartDomainCommand.java:78)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at com.sun.enterprise.cli.framework.CommandFactory.createCommand(CommandFactory.java:91)
        at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:160)
        at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:79)
Iniciando el dominio domain1, espere.
Registro redireccionado a /usr/local/glassfish-v2ur2/domains/domain1/logs/server.log.
Redireccionando la salida a /usr/local/glassfish-v2ur2/domains/domain1/logs/server.log
Fallo al iniciar el dominio domain1. Consulte el registro del servidor para obtener más detalles.
CLI156 No se pudo iniciar el dominio domain1.


==============================================================
Server.log
==============================================================
Attach file Server.log
[Message sent by forum member 'aperedo' (aperedo)]

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