Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

rmid on port 1099  RSS feed

Tim Holloway
Posts: 18709
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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!