RMI UnmarshalException

hello,

i created a simple RMI application and it is working.

But my problem lis that i can run it only on one machine. I have the server and the client on the same machine. Any time i tried to put client on another i am getting an error:

java.rmi.UnmarshalException: error Unmarshalling ...

nested exception is:

java.lang.classNotFoundException: ..._Stub(no Security manager: RMI class loader disabled)

thanks

[453 byte] By [bezgodoa] at [2007-11-26 18:28:07]
# 1
The client and the registry both need the stub and the remote interface class in their classpath.If you are >= Java 1.5, delete the stub class and let RMI use dynamic stubs.
ejpa at 2007-7-9 6:02:17 > top of Java-index,Core,Core APIs...
# 2
hai,I'm also facing the same problem,it is working on single system,but it geting error if i seperate client&server.please send me solution .........
A.sundaria at 2007-7-9 6:02:17 > top of Java-index,Core,Core APIs...
# 3
It's right there above you. Try reading the thread some time. If you don't understand the answer ask for clarification.
ejpa at 2007-7-9 6:02:17 > top of Java-index,Core,Core APIs...