File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17417

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!