1 Reply Latest reply on Apr 26, 2008 2:11 AM by Ron Sigal

    NoSuchObjectException on Server Restart (RMIClientInvoker)

    John Reynolds Newbie

      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