[jboss-remoting-issues] [JBoss JIRA] (JBREM-1326) Socket read timeout is not set on Control Thread/Socket

Doug Grove (JIRA) issues at jboss.org
Wed Dec 18 09:31:32 EST 2013


Doug Grove created JBREM-1326:
---------------------------------

             Summary: Socket read timeout is not set on Control Thread/Socket
                 Key: JBREM-1326
                 URL: https://issues.jboss.org/browse/JBREM-1326
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: JBoss EAP 5
            Reporter: Doug Grove


It is possible for an unhandled exception to be thrown from the EJB container that causes orphaned control threads to accumulate:

"control: Socket[addr=127.0.0.1,port=45892,localport=51040]" daemon prio=3 tid=0x056c2800 nid=0x2002 runnable [0x5ba4f000]
    java.lang.Thread.State: RUNNABLE
        java.net.SocketInputStream.socketRead0(Native Method)
        java.net.SocketInputStream.read(SocketInputStream.java:129)
        java.net.SocketInputStream.read(SocketInputStream.java:182)
        java.io.FilterInputStream.read(FilterInputStream.java:66)

The socket read blocks indefinitely as there is no timeout.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-remoting-issues mailing list