users@glassfish.java.net

Re: problem running asadmin - glassfish-installer-v2ur2-b04-linux.jar

From: <glassfish_at_javadesktop.org>
Date: Thu, 16 Oct 2008 10:56:42 PDT

I've reinstalled the operating system to Fedora 9 PPC and using OpenJDK:

[b][snowch_at_i4 glassfish]$ rpm -qa | grep openjdk
java-1.6.0-openjdk-plugin-1.6.0.0-0.18.b09.fc9.ppc
java-1.6.0-openjdk-devel-1.6.0.0-0.18.b09.fc9.ppc
java-1.6.0-openjdk-1.6.0.0-0.18.b09.fc9.ppc
[/b]
I can ping my hostname:
[b]
[snowch_at_i4 glassfish]$ ping -c 1 i4.christophersnow.net
PING i4.christophersnow.net (127.0.0.1) 56(84) bytes of data.
64 bytes from i4.christophersnow.net (127.0.0.1): icmp_seq=1 ttl=64 time=0.133 ms

--- i4.christophersnow.net ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.133/0.133/0.133/0.000 ms

[/b]However, glassfish still doesn't start. Could it be that i4.christohpersnow.net is only resolvable by /etc/hosts but glassfish is trying to do a dns lookup? The error:

[b]

[#|2008-10-16T18:47:47.803+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.
core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConne
ctorLifecycle_at_f6852d;com.sun.appserv.server.ServerLifecycleException: Cannot bin
d to URL [rmi://i4.christophersnow.net:8686/management/rmi-jmx-connector]: javax
.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: e
rror during JRMP connection establishment; nested exception is:
        java.io.EOFException];_RequestID=65b7758a-f565-4105-b276-591f74c1add5;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_f6852d cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://i4.christophersnow.net:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
        java.io.EOFException]|#]

[#|2008-10-16T18:47:47.815+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=65b7758a-f565-4105-b276-591f74c1add5;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://i4.christophersnow.net:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
        java.io.EOFException]
        at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:153)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
[/b]

Many thanks in advance...
[Message sent by forum member 'snowch' (snowch)]

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