Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can not get remote object _stub

 
Dasong
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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´┐Ż
 
Dasong
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rene,
Thanks a lot for your reply.

Dasong
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic