Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

RMI Client

  Asked By: Jamil    Date: Aug 02    Category: Java    Views: 1024

I found this error while I try to invoke RMI Client

Invoke Remote process
InvokeAmtrixClient: java.rmi.UnmarshalException: Return value class
not found; n
ested exception is:
java.lang.ClassNotFoundException: RMITest.AmtrixProcess_Stub



2 Answers Found

Answer #1    Answered By: Kanya Jainukul     Answered On: Aug 02

Since I assume you are getting this error. You have
been able to configure the java.polivy file properly
:)) or did I goof with my suggestion on that :((

Did you place the interface and rmic generated stub
classfiles in the client  m/c from where you are
invoking rmi  Client class file ???

If you have done this and still you are getting the
same error  then try to set the classpath when invoke
the java  command.

Answer #2    Answered By: Connie Wallace     Answered On: Aug 02

It is looking for the _Stub created when you make an rmi  class object.
(the re will also be a skeleton part). Make sure that the _Stub is
located on the remote  machine that you are trying to run the rmi class

Didn't find what you were looking for? Find more on RMI Client Or get search suggestion and latest updates.