Reestablish a session after sessionLost

asked 2016-01-25 05:13:43 -0700

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

edit retag flag offensive close merge delete