[infinispan-issues] [JBoss JIRA] (ISPN-3499) Resource leak in HotRod Server when unable to start

Pedro Ruivo (JIRA) jira-events at lists.jboss.org
Thu Sep 12 09:39:03 EDT 2013


Pedro Ruivo created ISPN-3499:
---------------------------------

             Summary: Resource leak in HotRod Server when unable to start
                 Key: ISPN-3499
                 URL: https://issues.jboss.org/browse/ISPN-3499
             Project: Infinispan
          Issue Type: Bug
    Affects Versions: 6.0.0.Alpha4
            Reporter: Pedro Ruivo
            Assignee: Pedro Ruivo
             Fix For: 6.0.0.Beta1


the HotRod server does not unbind the address:port if some exception happens during the start process.

This is making the test suite failing: http://ci.infinispan.org/viewLog.html?buildId=3157&tab=buildResultsDiv&buildTypeId=bt2

One possible solution to deal is to catch all the exceptions in the start process and invoke the stop to make the server to unbind and close the socket in that particular address:port.

Other solution is to make the user responsible to catch and stop the server. 



--
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 infinispan-issues mailing list