• Post Reply Bookmark Topic Watch Topic
  • New Topic

can not find _stub.class while running server.jar

 
Leonardo Wang
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The server runs ok by java suncertify.server.DatabaseServer.
But when I packed classes into a executable jar - server.jar and run with java -jar server.jar, classNotFound:
-Stub Exception is thrown when rebinding a impl object.
What do I need to do? at rmiregistry or somewhere else?
Thanks in advance!
Leon
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!