Revision history [back]

Reestablish a session after sessionLost

Hi all,

I have the following scenario. A java program (under linux):

  • creates two sessions against two different remote objects
  • calls methods of those objetcts based on some logic

For an unknown reason, after a while one of the two sessions is lost (reason = 5). In this moment, I start pinging the remote object and as soon as the ping succeed, I recreate the session.

Is this the best way to recover from a session lost?

Thank you!

Best Regards, Lino