Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unmarshall Exception - ClassNotFoundException stub files

843793May 5 2005
I am trying to run my RMIServer in an OS AIX, but at the moment of execute the register service, i get the following errors:


java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
java.lang.ClassNotFoundException: com.service.rmi.se
rver.GPRSServer_Stub
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:368
)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:223)
at sun.rmi.transport.Transport$1.run(Transport.java:164)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
76)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:717)
at java.lang.Thread.run(Thread.java:566)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:262)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
238)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:366)
at sun.rmi.registry.RegistryImpl_Stub.rebind(RegistryImpl_Stub.java:133)
at com.service.init.StartRMIGPRSService.main(StartRM
IGPRSService.java:93)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex
ception is:
java.lang.ClassNotFoundException: com.service.rmi.se
rver.GPRSServer_Stub

in order to load service i executed this steps :
i compiled ...
1. the java classes
2. the RMi Object with rmic -v1.2
3. i executed rmiregistry
4. and i executed rmid
and finally i executed setup class ( com.service.init.StartRMIGPRSService)

if somebody had the same problem 'n found any solution, i will apreciatte that somebody help me ...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2005
Added on May 5 2005
0 comments
140 views