[jboss-jira] [JBoss JIRA] Updated: (JBREM-774) BisocketClientInvoker.replaceControlSocket() and handleDisconnect() should close control socket

Ron Sigal (JIRA) jira-events at lists.jboss.org
Sun Jul 29 02:49:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBREM-774?page=all ]

Ron Sigal updated JBREM-774:
----------------------------

              Summary: BisocketClientInvoker.replaceControlSocket() and handleDisconnect() should close control socket  (was: BisocketClientInvoker.replaceControlSocket() should close previous control socket)
        Fix Version/s: 2.2.1.SP1
                       2.2.0.SP4_CP02
    Affects Version/s: 2.2.0.SP4
                       2.2.1.GA
          Description: 
If cpu overload or network congestion causes a control connection PING to get delayed, the client side org.jboss.remoting.transport.bisocket.Bisocket.BisocketServerInvoker.ControlMonitorTimerTask will tell the server side BisocketServerInvoker.SecondaryServerSocketThread to replace the control socket.  

If org.jboss.remoting.transport.bisocket.Bisocket.BisocketClientInvoker.replaceControlSocket() does not close the old control socket, and if the client is still alive, the client side BisocketServerInvoker.ControlConnectionThread will be blocked trying to read from an old control connection, which is no longer in use on the server side.

Also, BisocketClientInvoker.handleDisconnect() should close the control socket.

  was:
If cpu overload or network congestion causes a control connection PING to get delayed, the client side org.jboss.remoting.transport.bisocket.Bisocket.BisocketServerInvoker.ControlMonitorTimerTask will tell the server side BisocketServerInvoker.SecondaryServerSocketThread to replace the control socket.  

If org.jboss.remoting.transport.bisocket.Bisocket.BisocketClientInvoker.replaceControlSocket() does not close the old control socket, and if the client is still alive, the client side BisocketServerInvoker.ControlConnectionThread will be blocked trying to read from an old control connection, which is no longer in use on the server side.


> BisocketClientInvoker.replaceControlSocket() and handleDisconnect() should close control socket
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBREM-774
>                 URL: http://jira.jboss.com/jira/browse/JBREM-774
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.4.0.Beta1 (Pinto), 2.2.0.SP4, 2.2.1.GA
>            Reporter: Ron Sigal
>         Assigned To: Ron Sigal
>             Fix For: 2.4.0.Beta1 (Pinto), 2.2.0.SP4_CP02, 2.2.1.SP1
>
>
> If cpu overload or network congestion causes a control connection PING to get delayed, the client side org.jboss.remoting.transport.bisocket.Bisocket.BisocketServerInvoker.ControlMonitorTimerTask will tell the server side BisocketServerInvoker.SecondaryServerSocketThread to replace the control socket.  
> If org.jboss.remoting.transport.bisocket.Bisocket.BisocketClientInvoker.replaceControlSocket() does not close the old control socket, and if the client is still alive, the client side BisocketServerInvoker.ControlConnectionThread will be blocked trying to read from an old control connection, which is no longer in use on the server side.
> Also, BisocketClientInvoker.handleDisconnect() should close the control socket.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list