Hi,

Somehow i have got RMI based server running but without RMISecurityManager
installed from the server (prg).
Still i don't understand why after installing RMISecurityManager from the
program, it (prg) used to throw Exceptions saying permission denied which
it doesn't throw now after commenting that part of installing
RMISecurityManager.

Anyway i have got server app running!

Now the problem is that client throws exception in Naming.lookup() call
saying ClassName_Stub ClassNotFoundException. Appended is the output..

before this - the client prg is able to print the list of remoteObjects
on the remoteHost.

ComputePi exception: error unmarshalling return; nested exception is: 
        java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
        java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
        at java.io.ObjectInputStream.inputObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Compiled Code)
        at java.rmi.Naming.lookup(Compiled Code)
        at client.ComputePi.main(Compiled Code)

Any suggestion will be helpful.

thanx,

..praks


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to