[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Leaks in pinger when using manual reconnection?

timfox do-not-reply at jboss.com
Thu Aug 6 08:17:20 EDT 2009


I've found a similar issue:

If I create a connection factory, then create some connections with it, so there are several underlying remoting connections in the connection manager.

Then I manually fail one of the connections. This causes the following code to get executed in connection manager:


  | else
  |          {
  |             log.info("Not attempting failover");
  |             
  |             // Just fail the connections
  | 
  |             closePingers();
  | 
  |             failConnection(me);
  |          }
  | 

As you can see all the pingers get closed, but the actual connections remain in the connection manager.

Now if you wait longer than connection ttl, the server will close the connection from the server side since it didn't receive any ping from the connection which is still open.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248445#4248445

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248445



More information about the jboss-dev-forums mailing list