You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by problems mail <pr...@gmail.com> on 2006/12/12 22:51:01 UTC

not able to start the server - Failure in JMXConnector service:jmx:rmi://0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector

Hello,

I have installed geronimo. I am not able to start the server, I keep getting
this error. Please advice.


Booting Geronimo Kernel (in Java 1.4.2_13)...
Starting Geronimo Application Server v1.1.1
[***>                  ] 16% 192s Starting
geronimo/j2ee-security/1...14:38:08,885 WARN
[1/car,j2eeType=GBean,name=JMXService] Failure in JMXConnector
service:jmx:rmi://0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector
[***>                  ] 16% 193s Starting
geronimo/j2ee-security/1...14:38:08,887 ERROR [GBeanInstanceState] Error
while starting; GBean is now in the FAILED state:
abstractName="geronimo/j2ee-security/1.1.1/car?ServiceModule=geronimo/j2ee-security/1.1.1/car,j2eeType=GBean,name=JMXService"
java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/JMXConnector]:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested
exception is:

Regards,
Simon

Re: not able to start the server - Failure in JMXConnector service:jmx:rmi://0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector

Posted by Simon <pr...@gmail.com>.
problems mail <pr...@...> writes:

> 
> 
> Hello,
>  
> I have installed geronimo. I am not able to start the server, I keep getting 
this error. Please advice.
>  
>  
> Booting Geronimo Kernel (in Java 1.4.2_13)...Starting Geronimo Application 
Server v1.1.1[***>                  ] 16% 192s Starting geronimo/j2ee-
security/1...14:38:08,885 WARN  [1/car,j2eeType=GBean,name=JMXService] Failure 
in JMXConnector 
service:jmx:rmi://0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector
> [***>                  ] 16% 193s Starting geronimo/j2ee-
security/1...14:38:08,887 ERROR [GBeanInstanceState] Error while starting; 
GBean is now in the FAILED state: abstractName="geronimo/j2ee-
security/1.1.1/car?ServiceModule=geronimo/j2ee-
security/1.1.1/car,j2eeType=GBean,name=JMXService"
> java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/JMXConnector]: 
javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 0.0.0.0
> ; nested exception is: 
> Regards,
> Simon
> 

Please see Additional Information:

I have looked at the logs as well:

17:12:50,008 DEBUG [GBeanSingleReference] Waiting to start geronimo/rmi-
naming/1.1.1/car?ServiceModule=geronimo/rmi-
naming/1.1.1/car,j2eeType=GBean,name=MBeanServerKernelBridge because no 
targets are running for reference MBeanServerReference matching the patterns 
geronimo/rmi-naming/1.1.1/car?ServiceModule=geronimo/rmi-
naming/1.1.1/car,j2eeType=GBean,name=MBeanServerReference

17:12:50,613 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-
server/1.1.1/car?ServiceModule=geronimo/j2ee-
server/1.1.1/car,j2eeType=JCAWorkManager,name=DefaultWorkManager because no 
targets are running for reference TransactionContextManager matching the 
patterns geronimo/j2ee-server/1.1.1/car?ServiceModule=geronimo/j2ee-
server/1.1.1/car,j2eeType=TransactionContextManager,name=TransactionContextMana
ger

17:12:51,305 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-
security/1.1.1/car?ServiceModule=geronimo/j2ee-
security/1.1.1/car,j2eeType=SecurityRealm,name=geronimo-properties-realm 
because no targets are running for reference LoginModuleConfiguration matching 
the patterns geronimo/j2ee-security/1.1.1/car?ServiceModule=geronimo/j2ee-
security/1.1.1/car,j2eeType=LoginModuleUse,name=properties-login

17:12:51,306 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-
security/1.1.1/car?ServiceModule=geronimo/j2ee-
security/1.1.1/car,j2eeType=SecurityRealm,name=geronimo-properties-realm 
because no targets are running for reference LoginService matching the 
patterns geronimo/j2ee-security/1.1.1/car?ServiceModule=geronimo/j2ee-
security/1.1.1/car,j2eeType=JaasLoginService,name=JaasLoginService

17:12:51,382 DEBUG [GBeanSingleReference] Waiting to start geronimo/j2ee-
security/1.1.1/car?ServiceModule=geronimo/j2ee-
security/1.1.1/car,j2eeType=SecurityRealm,name=geronimo-properties-realm 
because no targets are running for reference LoginModuleConfiguration matching 
the patterns geronimo/j2ee-security/1.1.1/car?ServiceModule=geronimo/j2ee-
security/1.1.1/car,j2eeType=LoginModuleUse,name=properties-login

Regards,
Simon




Re: not able to start the server - Failure in JMXConnector service:jmx:rmi://0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector

Posted by Simon <pr...@gmail.com>.
problems mail <pr...@...> writes:

> 
> 
> Hello,
>  
> I have installed geronimo. I am not able to start the server, I keep getting 
this error. Please advice.
>  
>  
> Booting Geronimo Kernel (in Java 1.4.2_13)...Starting Geronimo Application 
Server v1.1.1[***>                  ] 16% 192s Starting geronimo/j2ee-
security/1...14:38:08,885 WARN  [1/car,j2eeType=GBean,name=JMXService] Failure 
in JMXConnector 
service:jmx:rmi://0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector
> [***>                  ] 16% 193s Starting geronimo/j2ee-
security/1...14:38:08,887 ERROR [GBeanInstanceState] Error while starting; 
GBean is now in the FAILED state: abstractName="geronimo/j2ee-
security/1.1.1/car?ServiceModule=geronimo/j2ee-
security/1.1.1/car,j2eeType=GBean,name=JMXService"
> java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/JMXConnector]: 
javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 0.0.0.0
> ; nested exception is: 
> Regards,
> Simon
> 

- Sad no one could help me solve this issue, but it is fixed now. But for 
everyone else here is the link for more details on the RMI issue with 
connection refused.

I had a bad /etc/hosts file on Linux. The IP Address on this box was wrong.

vi /etc/hosts

check the IP Address and the host name and make sure it matches with the IP 
address when running the command ifconfig -a

check  /etc/sysconfig/network (this is used mostly for emails etc. but just 
incase)

check file /proc/sys/kernel/hostname

http://jan.netcomp.monash.edu.au/java/jini/tutorial/TroubleShooting.xml
(please go to the section : [2.6. Network Configuration] for more detailed 
explanation

Hope this helps ;)

Regards,
Simon