Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rmid on port 1099

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on an activation object and I have it working quite well as long as I run both rmiregistry to register it and rmid to handle the activation.

As I read the documentation, however, I should be able to run rmid on port 1099 and then rmid would handle both the rmi registry AND activation server sunctions and I'd only need to run rmid. When I do this, however, the object I'm successfully registers the group and activation descriptors, then fails on the Naming.rebind() operation with a ClassNotFoundException for the stub class.

I would assume that either the class that is registering itself and/or the rmid program need some extra info, but I can't figure out what they need. The skeleton and stub classes were generated into the same directory as the class that's registering itself.

Help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic