RMI registry is empty after restart

This is the place for general discussion of the RMI plugin for Eclipse and support questions

RMI registry is empty after restart

Postby John_Idol » Sun Dec 13, 2009 11:12 pm

Useless to say, I am an RMI novice. I followed the tutorials and was able to put together a sample application.

I do not understand though why every time I stop and restart my local RMI registry the remote objects that were bound to it just vanish.
Is this normal behavior? I was under the impression that the rmi registry could be used as a persistence tool - so the contents of the registry should not vanish when the registry is stopped and restarted.
I am probably missing something very obvious ut, again, I am new to rmi.

Any pointers appreciated!
John_Idol
 
Posts: 1
Joined: Sun Dec 13, 2009 11:03 pm

Re: RMI registry is empty after restart

Postby genady » Sat Dec 19, 2009 9:01 am

Hi,

The rmi registry is not persisting anything on the disk. Hence it should not be restarted often :)
The server should register the remote object in the registry on server startup (the remote object cannot exist in the registry if the server is down).

Best Regards,
Genady
genady
Site Admin
 
Posts: 397
Joined: Sat Aug 16, 2003 5:15 pm


Return to General discussion and support

Who is online

Users browsing this forum: No registered users and 1 guest

cron