[jboss-user] [Management, JMX/JBoss] - Execution of twiddle from remote machine
thirumalmarugan
do-not-reply at jboss.com
Tue Apr 17 04:25:30 EDT 2007
hi i have invoke twiddle in the local host for getting the server info.it display the result.if i invoke the same command from remote machine it says error..
the error i have got is:
05:22:45,848 ERROR [Twiddle] Exec failed
org.jboss.util.NestedRuntimeException: Could not obtain connection to any of these urls: 0.0.0.0:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out caused by java.net.SocketTimeoutException: Receive timed out; - nested throwable: (javax.naming.CommunicationException: Could not obtain connection to any of these urls: 0.0.0.0:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out caused by java.net.SocketTimeoutException: Receive timed out caused by javax.naming.CommunicationException: Failed to retrieve stub from server 0.0.0.0:1099 caused by java.io.IOException: Exception thrown from readObject() on class java.rmi.server.RemoteObject: java.lang.ExceptionInInitializerError)
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:143)
at org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCommand.java:59)
at org.jboss.console.twiddle.command.GetCommand.execute(GetCommand.java:149)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305)
Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: 0.0.0.0:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out caused by java.net.SocketTimeoutException: Receive timed out caused by javax.naming.CommunicationException: Failed to retrieve stub from server 0.0.0.0:1099 caused by java.io.IOException: Exception thrown from readObject() on class java.rmi.server.RemoteObject: java.lang.ExceptionInInitializerError
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(libgcj.so.7rh)
at org.jboss.console.twiddle.Twiddle.createMBeanServerConnection(Twiddle.java:250)
at org.jboss.console.twiddle.Twiddle.connect(Twiddle.java:268)
at org.jboss.console.twiddle.Twiddle.access$300(Twiddle.java:62)
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:139)
...3 more
but when i invoke it in the local host it has been executed.so you please help me in this issue.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037873#4037873
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037873
More information about the jboss-user
mailing list