I got a "NewsBoardServerImpl" which is a remote server.
I compiled it (no options), then rmic it (same).
This class also contains "main".
When trying to run it - here's what I get as the RemoteException message:
----------------
RemoteException occured: java.rmi.ServerException: RemoteException occurred
in server thread; nested
exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
java.lang.ClassNotFoundException: RMIBoard.NewsBoardServerImpl_Stub
----------------
and here's the stackTrace:
---------------------------
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
java.lang.ClassNotFoundException: RMIBoard.NewsBoardServerImpl_Stub
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
is:
java.lang.ClassNotFoundException: RMIBoard.NewsBoardServerImpl_Stub
java.lang.ClassNotFoundException: RMIBoard.NewsBoardServerImpl_Stub
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Unknown Source)
at RMIBoard.NewsBoardServerImpl.main(NewsBoardServerImpl.java:153)
------------------------------
The _stub class is there alright.
Any ideas?
BTW - JDK1.3 on win 2000.
TnX, Ran.
Don
"R@nsh!" <ran...@no-spam.Qfish.com> wrote in message
news:98r2vr$lfl$1...@news.huji.ac.il...
TnX again, anyway.
Don
"R@nsh!" <ranshe@~no-spam~.Qfish.com> wrote in message
news:99qcmi$7om$1...@news.huji.ac.il...