RMI Service reconnection after service outage...
I have separate applications running Spring RMI services that could go down any moment. The client to the RMI services is a monitoring tool that checks the status of the services. If the RMI services go down the monitoring tool picks up on this (using periodic pings to the host) and reports that it is not available.
The problem resides when the RMI services are back online. Once they are back online the client tool is not able to use the services anymore. These RMI services are configured upon creation of the context so it seems they can never recreate themselves.
Is there a good strategy to establishing the RMI connections again? How can I handle RMI Service outage and reconnection?
Thanks in advance,