Also, if I try to do a Twiddle thread-dump while in the failed state I get the following
errors:
[root@box bin]# sh twiddle.sh invoke "jboss.system:type=ServerInfo"
listThreadDump
08:58:12,403 ERROR [Twiddle] Exec failed
org.jboss.util.NestedRuntimeException: - nested throwable:
(javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error
unmarshaling return header; nested exception is:
java.io.EOFException])
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:137)
at
org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCommand.java:47)
at
org.jboss.console.twiddle.command.MBeanServerCommand.queryMBeans(MBeanServerCommand.java:54)
at
org.jboss.console.twiddle.command.InvokeCommand.execute(InvokeCommand.java:262)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:293)
Caused by: javax.naming.CommunicationException [Root exception is
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.io.EOFException]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at
org.jboss.console.twiddle.Twiddle.createMBeanServerConnection(Twiddle.java:244)
at org.jboss.console.twiddle.Twiddle.connect(Twiddle.java:262)
at org.jboss.console.twiddle.Twiddle.access$300(Twiddle.java:56)
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:133)
... 4 more
Caused by: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception
is:
java.io.EOFException
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
... 10 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:243)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189)
... 13 more
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990996#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...