users@glassfish.java.net

Re: Glassfish stops working after changing server's IP address

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Wed, 16 May 2007 08:53:30 -0500

2007/5/16, Ed Mooney <Ed.Mooney_at_sun.com>:
> Hi,
>
> I don't understand "/24" at the end of the ip address. What does it mean?

That means, net mask is 24bit long:
address 192.168.0.8
netmask 255.255.255.0
but I suppose it does not matter. The fact is that the server address
is now different from the one that was during Glassfish installation
(using ant -f setup.xml).


> Assuming you're trying http://localhost:8080/ on the machine where GF is
> running, what does
>
> grep http-listener $AS_INSTALL/domains/domain1/config/domain.xml
>
> return? What happens if you try http://127.0.0.1:8080/ ?
It does not matter if I try localhost, 127.0.0.1 or 192.168.1.8.
4848 and 8082 services are not responding. Now, here is what
grep http-listener glassfish/domains/domain1/config/domain.xml
returns:
        <http-listener acceptor-threads="1" address="0.0.0.0"
blocking-enabled="false" default-virtual-server="server"
enabled="true" family="inet" id="http-listener-1" port="8082"
security-enabled="false" server-name="" xpowered-by="true">
        </http-listener>
        <http-listener acceptor-threads="1" address="0.0.0.0"
blocking-enabled="false" default-virtual-server="server"
enabled="true" family="inet" id="http-listener-2" port="8181"
security-enabled="true" server-name="" xpowered-by="true"/>
        <http-listener acceptor-threads="1" address="0.0.0.0"
blocking-enabled="false" default-virtual-server="__asadmin"
enabled="true" family="inet" id="admin-listener" port="4848"
security-enabled="false" server-name="" xpowered-by="true"/>
        <virtual-server hosts="${com.sun.aas.hostName}"
http-listeners="http-listener-2,http-listener-1" id="server"
log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
        <virtual-server hosts="${com.sun.aas.hostName}"
http-listeners="admin-listener" id="__asadmin"
log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">


There is one more thing: after invoking:
glassfish/bin/asadmin start-domain domain1
i get:
Starting Domain domain1, please wait.
Log redirected to /home/sop/glassfish/domains/domain1/logs/server.log.
Redirecting output to /home/sop/glassfish/domains/domain1/logs/server.log
Domain domain1 is ready to receive client requests. Additional
services are being started in background.
Domain [domain1] is running [Sun Java System Application Server 9.1
(build b45-beta3)] with its configuration and logs at:
[/home/sop/glassfish/domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[http://localhost:8082 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://sop:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8082 8181 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other
standalone instances.

Here is server.log:
----------------------------------------------------------------
May 16, 2007 8:36:05 AM
com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../bin/java
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-Xmx512m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=/home/sop/glassfish/domains/domain1/logs/jvm.log
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar,commons-logging.jar,commons-launcher.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,/home/sop/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=/home/sop/glassfish/lib/install/applications/jmsra/imqjmsra.jar,/home/sop/glassfish/imq/lib/jaxm-api.jar,/home/sop/glassfish/imq/lib/fscontext.jar,/home/sop/glassfish/imq/lib/imqbroker.jar,/home/sop/glassfish/imq/lib/imqjmx.jar,/home/sop/glassfish/lib/ant/lib/ant.jar,/home/sop/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,/home/sop/glassfish/imq/lib/jaxm-api.jar,/home/sop/glassfish/imq/lib/fscontext.jar,/home/sop/glassfish/imq/lib/imqbroker.jar,/home/sop/glassfish/imq/lib/imqjmx.jar,/home/sop/glassfish/imq/lib/imqxm.jar,/home/sop/glassfish/lib/ant/lib/ant.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,/home/sop/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,/home/sop/glassfish/updatecenter/lib/updatecenter.jar,/home/sop/glassfish/jbi/lib/jbi.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=/home/sop/glassfish/config
-Dcom.sun.aas.defaultLogFile=/home/sop/glassfish/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=/home/sop/glassfish
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.instanceRoot=/home/sop/glassfish/domains/domain1
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.updatecenter.home=/home/sop/glassfish/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=/home/sop/glassfish/lib/endorsed
-Djava.ext.dirs=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/ext:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../jre/lib/ext:/home/sop/glassfish/domains/domain1/lib/ext:/home/sop/glassfish/javadb/lib
-Djava.library.path=/home/sop/glassfish/lib:/home/sop/glassfish/lib:/home/sop/glassfish/lib
-Djava.security.auth.login.config=/home/sop/glassfish/domains/domain1/config/login.conf
-Djava.security.policy=/home/sop/glassfish/domains/domain1/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=/home/sop/glassfish/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=/home/sop/glassfish/domains/domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-cp
:/home/sop/glassfish/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
[#|2007-05-16T08:36:05.840-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting
Sun Java System Application Server 9.1 (build b45-beta3) ...|#]

[#|2007-05-16T08:36:05.970-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.DynamicInterceptor;|MBeanServer
started: com.sun.enterprise.interceptor.DynamicInterceptor|#]

[#|2007-05-16T08:36:06.094-0500|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|/home/sop/glassfish/domains/domain1/config/pid|#]

[#|2007-05-16T08:36:06.688-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098:
AS Socket Service Initialization has been completed.|#]

[#|2007-05-16T08:36:06.701-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java
HotSpot(TM) Client VM;1.6.0;Sun Microsystems Inc.;|CORE5076: Using
[Java HotSpot(TM) Client VM, Version 1.6.0] from [Sun Microsystems
Inc.]|#]

[#|2007-05-16T08:36:06.732-0500|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002:
Security Manager is OFF.|#]

[#|2007-05-16T08:36:07.582-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor
is now enabled|#]

[#|2007-05-16T08:36:07.764-0500|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143:
Loading policy provider
com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2007-05-16T08:36:08.181-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114:
SSO is disabled in virtual server [server]|#]

[#|2007-05-16T08:36:08.186-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114:
SSO is disabled in virtual server [__asadmin]|#]

[#|2007-05-16T08:36:08.706-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079:
Initialization of AMX MBeans started|#]
----------------------------------------------------------------


> Have you checked your router's admin console for evidence it recognizes
> 192.168.1.8? If so, what happens if you try http://192.168.1.8:8080/ ?

Yes, I have double checked everything, the network is configured
correctly, everything works expect Glassfish. http://192.168.1.8:8082
(or 4848) does not work.

I have just noticed exceptions in server.log. As you have seen, when
server starts there are no exceptions, but now, when I enter
http://192.168.1.8:8082/ Mozilla is trying to load that page (it takes
about 30-50 secounds) and then I am getting:

----Firefox shows that page------
The connection was reset
The connection to the server was reset while the page was loading.
[...]
Try again.
--------------------------------------------

---Glassfish prints that in server log----------
[#|2007-05-16T08:45:04.656-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_b524aa;com.sun.appserv.server.ServerLifecycleException:
Cannot bind to URL [rmi://sop:8686/management/rmi-jmx-connector]:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: sop; nested
exception is:
        java.net.ConnectException: Connection timed
out];_RequestID=92e66784-627e-485d-b42d-bd7879ab8c47;|Service
com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_b524aa
cannot be started! : com.sun.appserv.server.ServerLifecycleException:
Cannot bind to URL [rmi://sop:8686/management/rmi-jmx-connector]:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: sop; nested
exception is:
        java.net.ConnectException: Connection timed out]|#]

[#|2007-05-16T08:45:04.684-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=92e66784-627e-485d-b42d-bd7879ab8c47;|CORE5071:
An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL
[rmi://sop:8686/management/rmi-jmx-connector]:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: sop; nested
exception is:
        java.net.ConnectException: Connection timed out]
        at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:140)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:401)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:104)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:402)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:326)
        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:274)
Caused by: java.io.IOException: Cannot bind to URL
[rmi://sop:8686/management/rmi-jmx-connector]:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: sop; nested
exception is:
        java.net.ConnectException: Connection timed out]
        at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
        at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
        at com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:196)
        at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:121)
        ... 9 more
Caused by: javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: sop; nested
exception is:
        java.net.ConnectException: Connection timed out]
        at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
        at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
        at javax.naming.InitialContext.bind(InitialContext.java:400)
        at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
        at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
        ... 11 more
Caused by: java.rmi.ConnectException: Connection refused to host: sop;
nested exception is:
        java.net.ConnectException: Connection timed out
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
        at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
        at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
        ... 15 more
Caused by: java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        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.ss.provider.ASPlainSocketImpl$2.run(ASPlainSocketImpl.java:386)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ss.provider.ASPlainSocketImpl._invoke(ASPlainSocketImpl.java:383)
        at com.sun.enterprise.server.ss.provider.ASPlainSocketImpl.connect(ASPlainSocketImpl.java:261)
        at com.sun.enterprise.server.ss.provider.ASClientSocketImpl.connect(ASClientSocketImpl.java:254)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
        ... 20 more
|#]

[#|2007-05-16T08:45:04.686-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=92e66784-627e-485d-b42d-bd7879ab8c47;|Server
Startup failed. Exiting...|#]

[#|2007-05-16T08:45:04.686-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server
shutdown in progress...|#]

[#|2007-05-16T08:45:04.686-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0303:
Stopping Sun-Java-System/Application-Server.|#]

[#|2007-05-16T08:45:04.687-0500|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=92e66784-627e-485d-b42d-bd7879ab8c47;|CORE5061:
Exception :
com.sun.appserv.server.ServerLifecycleException: WEB0106: An error
occurred while stopping the web container
        at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:827)
        at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:82)
        at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:508)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:115)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:420)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:326)
        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:274)
Caused by: LifecycleException: WEB0103: This web container has not
yet been started
        at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:884)
        at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:819)
        ... 10 more
|#]

[#|2007-05-16T08:45:04.687-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5051:
Shutting down all J2EE applications ...|#]

[#|2007-05-16T08:45:04.687-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE
5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters
...|#]

[#|2007-05-16T08:45:04.688-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE
5061 : Resource adapters Stop() Complete|#]

[#|2007-05-16T08:45:04.688-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5052:
Application shutdown complete.|#]

[#|2007-05-16T08:45:04.689-0500|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=92e66784-627e-485d-b42d-bd7879ab8c47;|CORE5061:
Exception :
java.lang.NullPointerException
        at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:123)
        at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:165)
        at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:206)
        at com.sun.appserv.server.ServerLifecycleModule.onShutdown(ServerLifecycleModule.java:260)
        at com.sun.appserv.server.LifecycleModuleService.onShutdown(LifecycleModuleService.java:474)
        at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:508)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:115)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:420)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:326)
        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:274)
|#]

[#|2007-05-16T08:45:04.693-0500|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=92e66784-627e-485d-b42d-bd7879ab8c47;|CORE5061:
Exception :
com.sun.appserv.server.ServerLifecycleException
        at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:158)
        at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:508)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:115)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:420)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:326)
        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:274)
|#]

[#|2007-05-16T08:45:04.847-0500|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=92e66784-627e-485d-b42d-bd7879ab8c47;|CORE5061:
Exception :
java.lang.NullPointerException
        at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:123)
        at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:165)
        at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:206)
        at com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:264)
        at com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:483)
        at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:546)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:425)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:326)
        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:274)
|#]

[#|2007-05-16T08:45:04.848-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=92e66784-627e-485d-b42d-bd7879ab8c47;|Server
stopped due to Server startup failure.|#]
-------------------------------------------------------------------------------------------------

And thats it. There is no longer Glassfish process running :/
Now, when I try to stop server it says: The domain (domain1) isn't running.
Can you find some cure for that? Is that a bug?

Thanks,
josh


>
> -- Ed
>
> Witold Szczerba wrote:
> > Hi there,
> > I have strange situation here. There is server with IP address
> > 192.168.0.8/24.
> > Glassfish is installed in that server and everything works. But when I
> > change IP address and network to 192.168.1.8/24 and restart Glassfish
> > - it claims it is working, but actually nothing works any more:
> > http://localhost:4848 is not responding, http://localhost:8080 as well.
> >
> > Nothing helps, even restarting server. Glassfish does not work anymore.
> > But when I change IP/network address back into 192.168.0.8 - everything
> > is fine.
> >
> > I double checked, there is no file inside glassfish dir, where
> > "192.168.0.8" exist, no listener were configured to listen on that
> > 192.168.0.8 - everything is set to listen on 0.0.0.0.
> >
> > As I said, after changing IP configuration, the server was restarted
> > (I mean entire server, not only Glassfish) but that does not help.
> >
> > My server is: Ubuntu 7.04, Glassfish v2b45.
> > IP configurations was written in /etc/network/interfaces. IP
> > configuration is correct, I mean IP address, network mask, broadcast,
> > default gateway, everything was set correctly.
> >
> > How is that possible, that Glassfish works only on the IP
> > configuration that was set when it was installed? There is no
> > "192.168.0.8" inside any Glassfish's file.
> >
> >
> > Thanks,
> > josh
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>