Quote:
|
2. When I am trying to terminate my server application by unix kill command using process id from icegrid admin GUI tool, it is throwing exception directly to my client application, rather than somehow icegrid noticing this server termination and restart new instance for client to be served. I have used different parameters with kill command (1,2,3,6,9,14,15) and I was getting NoEndpointExcpetion and ConnectionLostException with them. Please explain, how can I let icegrid interfere in such application termination and restart new instance of the server for clients to be served.
|
My apologise for the above doubt. What I found that, to fix problem 1, I deliberately added 2 seconds of delay in server termination process to make sure any pending callbacks are send for sure. But on my client, I was retrying to connect to the server immediately on failure of server, where IceGrid will not restart the server untill the first instance in fully terminated. Therefore, as soon I added delay in consecutive connection requests from client, solved the problem.
But I am still worried about my problem 1. Any clues?
Thanks.