This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 15950

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
subject: rmid on port 1099
Similar Threads
how to get Clients CPU information on Server using Java RMI
[RMI] question about Activation Framework
RMID, RMIRegistry and ports
RMI binding
Page 123