This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes rmid on port 1099 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmid on port 1099" Watch "rmid on port 1099" New topic

rmid on port 1099

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17257

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.


An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: rmid on port 1099
It's not a secret anymore!