Close
jGuru Forums
Posted By: Akash_Jain Posted On: Wednesday, June 12, 2002 09:42 PM
I am using RMI for the first time. I followed the step by step procedure for running an RMI code but am still getting runtime exception on snippet Naming.rebind() while running the server. the exception that i am getting is : Error raised : java.rmi.ServerException: Server RemoteException; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: ProductImpl_Stub
following is the code snippet: ProductImpl p1 = new ProductImpl("Blackwell Toaster"); ProductImpl p2 = new ProductImpl("ZapExpress Microwave Oven"); Naming.rebind("toaster",p1); Naming.rebind("microwave",p2); i am running JDK 1.4 on windows NT 4.0
Re: exception while running RMI code.
Posted By: Debabrata_Dash Posted On: Tuesday, July 16, 2002 05:36 PM