[jboss-remoting-issues] [JBoss JIRA] Commented: (JBREM-1282) ServerInvoker does not close StreamHandler in the case of "addstreamcallback"

Ron Sigal (JIRA) jira-events at lists.jboss.org
Thu May 5 15:44:18 EDT 2011


    [ https://issues.jboss.org/browse/JBREM-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600166#comment-12600166 ] 

Ron Sigal commented on JBREM-1282:
----------------------------------

The discussion about this issue has been taking place on JBPAPP-6396, which was cloned from this one.  Please see that issue for more information.  To summarize, though, the real solution was to force the org.jboss.remoting.stream.StreamServer to use the local transport for in-jvm connections.  See JBREM-1288.



> ServerInvoker does not close StreamHandler in the case of "addstreamcallback"
> -----------------------------------------------------------------------------
>
>                 Key: JBREM-1282
>                 URL: https://issues.jboss.org/browse/JBREM-1282
>             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
>
>         Attachments: jboss-remoting.jar, JBossRemoting.patch
>
>
> 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


More information about the jboss-remoting-issues mailing list