[jboss-dev-forums] [Design of JBoss Remoting, Unified Invokers] - NoSuchObjectException on Server Restart

jcreynol do-not-reply at jboss.com
Wed Feb 13 14:38:16 EST 2008


We're using a Swing application to connect to JBoss EAP 4.2CR1.  The connecor is configured to use the UnifiedInvoker and a transport of rmi.  This is a conversion from Weblogic 8.1.  Everything works pretty nicely, but there are issues with a server restart where we are unable to reconnect to the new server, as it appears the RMIClientInvoker isn't refreshing to find the new server.  Best I can tell, this is similar to this issue, here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116027

Is this a bug?  Can anybody point to a workaround?

The stacktrace in the client is, as follows:
Caused by: java.rmi.NoSuchObjectException: no such object in table
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
	at org.jboss.remoting.transport.rmi.RMIServerInvoker_Stub.transport(Unknown Source)
	at org.jboss.remoting.transport.rmi.RMIClientInvoker.transport(RMIClientInvoker.java:238)
	... 14 more

Thanks,
John

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129242#4129242

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129242



More information about the jboss-dev-forums mailing list