ServerInvoker does not close StreamHandler in the case of "addstreamcallback"
-----------------------------------------------------------------------------
Key: JBREM-1284
URL:
https://issues.jboss.org/browse/JBREM-1284
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.5.4.SP1, 2.2.4
Reporter: Ramesh Reddy
Assignee: Ron Sigal
Fix For: 2.5.4.SP2, 2.2.4.SP1
This started out
http://community.jboss.org/thread/163742 and in Teiid project we created
a JIRA for this
https://issues.jboss.org/browse/TEIID-1511
while debugging for this issue, I found that in ServerInvoker, for
"AddStreamCallback" block in the "handleInternalInvocation" method it
does not close the stream handler once it is done. This results in open socket connection.
I am not sure if this connection closes after some idle time, but in our case user is
rapidly going through deploy and undeploy action, results in too many open files. I
created a patch and tested with our usecase, the problem no longer exists. Please find
attached patch
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira