[ openjms-Bugs-1023188 ] Network cable disconnect does not deregister client
"SourceForge.net" <[email protected]> Wed, 08 Jun 2005 06:44:47 -0700
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1023188, was opened at 2004-09-07 03:15 Message generated for change (Comment added) made by tanderson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1023188&group_id=54559 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: server Group: v0.7.6.1 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Michael Jaszczyk (mjaszczyk) >Assigned to: Tim Anderson (tanderson) Summary: Network cable disconnect does not deregister client Initial Comment: When the network connection to the server goes down, clients will generate an onException event. The clients are able to reconnect, when the server is reachable again. This is true, when the server is switched off for example. But, when I unplug the network cable on the client, the event is still generated, but when the client tries to reconnect, an exception is logged, that the client is already registered. This of course only for durable subscriptions. So, the clients will not be able to reconnect, until the server or the client is stopped once. (If the client is stopped, the server seems to get informed, that the subscriber is gone, by the TCP stack) Funny also, that after the reconnect, when the clients can not register, there is an error message in the client logfile, that it recieved a message for a closed connection. (But connection.start() does not work to reactivate it) Is it possible, whenever a client tries to subscribe (durable), to check the state of the tcp connection on the server and dump it, if it is bad, and then allow the subscriber to subscribe ? Thanks Michael ---------------------------------------------------------------------- >Comment By: Tim Anderson (tanderson) Date: 2005-06-08 23:44 Message: Logged In: YES user_id=557161 Fixed in CVS. Fix will be available in the 0.7.7 release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1023188&group_id=54559 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20