aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Can not get remote object _stub Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Can not get remote object _stub" Watch "Can not get remote object _stub" New topic
Author

Can not get remote object _stub

Dasong
Ranch Hand

Joined: Apr 05, 2002
Posts: 36
Hi guys
When I run client and server on different computer. I got Exception at client side as following:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: DBServer0_Stub
Command line of server side:
java -Djava.security.policy=java.policy -Djava.rmi.server.codebase=file:/G:\scjd(right before package dir)/ DBServer0 port
Command line of client side:
java -Djava.security.policy=java.policy -Djava.rmi.server.codebase=file:/G:\scjd(right before package dir)/ client host port
Thanks a lot
Dasong
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Hi
Maybe you can get the answer her: http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=25&t=001949
/Ren´┐Ż


Regards, Rene Larsen
Dropbox Invite
Dasong
Ranch Hand

Joined: Apr 05, 2002
Posts: 36
Hi Rene,
Thanks a lot for your reply.

Dasong
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can not get remote object _stub