]
Ron Sigal closed JBREM-1326.
----------------------------
Resolution: Out of Date
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
Environment: JBoss EAP 5
Reporter: Doug Grove
Assignee: Ron Sigal
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.