geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: strange stuff with JMXConnector
Date Sat, 23 Jul 2005 04:04:55 GMT
If so, try opening a terminal or command prompt and run "hostname"  and
see what it gives you.  Then run "nslookup (whatever hostname gave you)"
and see what IP address it returns.

Aaron

On Fri, 22 Jul 2005, Joe Bohn wrote:
> I had posted earlier to the user list about a problem attempting to 
> build Geronimo and getting a strange error from the
> JMX Connector.
> http://mail-archives.apache.org/mod_mbox/geronimo-user/200507.mbox/%3c42D2A7D1.2000707@earthlink.net%3e
> 
> At the time I thought the problem was resolved when I killed a rouge 
> java process and submitted the build with an offline
> option.
> 
> However, now I'm seeing the exact same error when attempting to start 
> the server itself and there are no rouge java or javaw
> processes running.  
> 
> I was running this exact same server instance (unchanged) earlier this 
> evening without any problems.  However, it seems like
> something at times causes this error.  I still don't know what the host 
> "10.150.1.3" has to do with anything ... or what that
> address resolves to.   Without the JMX Connector and RMI I can't deploy 
> or undeploy anything.  Is it possible that
> this is really a symptom of a slow network?  What is this ip address?  
> Any ideas?  
> 
> Here's the error:
> 
> Booting Geronimo Kernel (in Java 1.4.2_08)...
> Starting Geronimo Application Server
> [*>       ] 11%  44s Starting org/apache/Geronimo/Console             
> 22:27:35,7
> 54 WARN  
> [server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Server,J2EE
> Server=Geronimo,j2eeType=GBean,name=JMXService] Error stopping 
> JMXConnector after failure
> java.io.IOException: javax.naming.ServiceUnavailableException [Root 
> exception is
>  java.rmi.ConnectException: Connection refused to host: 10.150.1.3; 
> nested exception is:
>         java.net.ConnectException: Connection timed out: connect]
>         at mx4j.remote.resolver.rmi.Resolver.unbindServer(Resolver.java:279)
>         at 
> javax.management.remote.rmi.RMIConnectorServer.stop(RMIConnectorServer.java:172)
>         at 
> org.apache.geronimo.jmxremoting.JMXConnector.doStop(JMXConnector.java:117)
>         at 
> org.apache.geronimo.jmxremoting.JMXConnector.doFail(JMXConnector.java:124)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:873)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:328)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:111)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:133)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:503)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:207)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:141)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:503)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:207)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:243)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:80)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:303)
> 22:27:35,754 ERROR [GBeanInstanceState] Error while starting; GBean is 
> now in the FAILED state: 
> objectName="geronimo.server:J2EEApplication=null,J2EEModule=org/
> apache/geronimo/Server,J2EEServer=geronimo,j2eeType=GBean,name=JMXService"
> java.io.IOException: javax.naming.ServiceUnavailableException [Root 
> exception is
>  java.rmi.ConnectException: Connection refused to host: 10.150.1.3; 
> nested exception is:
>         java.net.ConnectException: Connection timed out: connect]
>         at mx4j.remote.resolver.rmi.Resolver.bindServer(Resolver.java:199)
>         at 
> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:152)
>         at 
> org.apache.geronimo.jmxremoting.JMXConnector.doStart(JMXConnector.java:112)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:854)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:328)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:111)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:133)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:503)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:207)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:141)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:503)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:207)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:243)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:80)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:303)
> [*********] 100%  63s Startup complete
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 0.0.0.0   Jetty Connector HTTP
>     8443 0.0.0.0   Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
>   WARNING: Some GBeans were not started successfully:
>     JMXService (failed)
> Geronimo Application Server started (version 1.0-SNAPSHOT)
> 
> -- 
> Joe Bohn     
> 
> joe.bohn@earthlink.net 
> "He is no fool who gives what he cannot keep, to gain what he cannot lose."   -- Jim
Elliot
> 
> 

Mime
View raw message