Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RMI Registry can't find my classes?

113 views
Skip to first unread message

Bill Donnelly

unread,
Sep 28, 2000, 3:00:00 AM9/28/00
to
Requesting a little help from anyone who might know more about RMI than
I do.......

My server, which uses RMI, can't register itself in the rmiregistry, and
the exception I get is a ClassNotFoundException inside an
UnmarshalingException, which basically tells me that the registry can't
find my stub class.

It appears that if the stub class is in a directory that is in the
CLASSPATH when I start the registry, it all works fine...

However, this seems counterintuitive - I realize the registry has to
load the stub class from *somewhere*, but how can you run the registry
as a system process when it requires to know about its clients
whereabouts at runtime? Is there something I'm missing here?

--
-- Bill Donnelly
no_spam_please_i_already_get_way_too_much_wdonnell_@_telcordia.com

Peter Gieser

unread,
Sep 28, 2000, 3:00:00 AM9/28/00
to
See:

http://java.sun.com/docs/books/tutorial/rmi/running.html

for a basic description of the steps.

Pete

"Bill Donnelly" <wdon...@telcordia.com> wrote in message
news:39D37C2E...@telcordia.com...

0 new messages