1 Reply Latest reply on Aug 8, 2006 2:19 PM by Tom Elrod

    RMI question - java.rmi.NoSuchObjectException

    Yair Zaslavsky Newbie

      Good day all,
      I'm using JBoss 4.04GA and JBoss Remoting 1.4.1.
      I have a JEE application that has a client to a remote J2SE application.
      I wrote a code similar to the SimpleServer and SimpleClient in the examples provided, and used rmi as underlying transport.
      In some cases I receive the java.rmi.NoSuchObjectException when the client (which is located in the JEE code) tries to perform an invocation on the RMI server (the J2SE code).
      Can you please help me and give some information about this problem and how to solve it?

      Thanks

      Yair

        • 1. Re: RMI question - java.rmi.NoSuchObjectException
          Tom Elrod Master

          Need a little more info, but that exception is usually thrown when the object being invoked upon (on the server side) is no longer available. If using remoting, shouldn't matter that the client actually resides within JEE code. Might want to try to debug by just running the remoting client standalone and call on server.

          If can produce a test case that demonstrates the behavior, would be even better.