dcsimg
How do i tackle a "Unmarshalling Exception"
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Asif_Akhtar
Posted On:   Tuesday, November 13, 2001 02:47 AM

When i tried to run my server i got the following exception "java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: ext.bt.ppd.extract.mathCalcImp_Stub java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: ext.bt.ppd.extract.mathCalcImp_Stub java.lang.ClassNotFoundException: ext.bt.ppd.extract.mathCalcImp_Stub at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code)at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Compiled   More>>

When i tried to run my server i got the following exception
"java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: ext.bt.ppd.extract.mathCalcImp_Stub
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: ext.bt.ppd.extract.mathCalcImp_Stub
java.lang.ClassNotFoundException: ext.bt.ppd.extract.mathCalcImp_Stub
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Compiled Code) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:224)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:358) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:165)at ext.bt.ppd.extract.calcServ.main(calcServ.java:30)
RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: ext.bt.ppd.extract.mathCalcImp_Stub"

I have created the stub and skeleton classes and placed them in codebase yet the code wont run

Am i missing something??

Thanks in advance Asif

   <<Less

Re: How do i tackle a "Unmarshalling Exception"

Posted By:   ryan_wexler  
Posted On:   Tuesday, November 20, 2001 02:40 PM

You need to run rmic and recompile those stubs everytime you add a new
method to your interface
About | Sitemap | Contact