Re: RMI Activation lifecycle (binding to the rmiregistry)

Johannes Boneschanscher <[email protected]> Sat, 3 Dec 2005 14:54:38 +0100
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
OK, it has been discussed on the list in August 2001, but maybe someone
has an update to that?

http://archives.java.sun.com/cgi-bin/wa?A2=ind0108&L=rmi-users&D=0&P=20807

Thanks in advance,

Johannes


Johannes Boneschanscher wrote:

> Hi Java RMI Experts,
>
> I'm wondering if I do something wrong here as I'm trying to get RMI
> Activation working.
>
> I thought that the whole idea of Activation was that after a reboot, you
> just had to fire up rmid (and rmiregistry) and that's it. (Registering
> the activatable realy only once, not after every reboot)
>
> But alas, after rebooting my server(restarting rmid & registry), new
> starting clients will of course not find the Remote reference of my
> Activatable that I put in the Registry, which I got in turn from
> Activatable.register(...) : Remote.
>
> Is there a way to automatically save the Remote reference from the
> Registry, so that on reboot I do not have to reRegister my Activatable?
>
> I hope you can follow me here :-)
>
> Thanks for any hints in advance,
>
> Yours,
>
> Johannes Boneschanscher
>
> (picture <http://boneschanscher.net/%7Ejohannes/foto.jpg>)
>
> P.S. I've tried finding this in 1,5 years of RMI-USERS archive, the Sun
> RMI Specs&Docs&Tutorials, and way to much Google

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html