Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3499

Resource leak in HotRod Server when unable to start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.Beta1
    • 6.0.0.Alpha4
    • None
    • None

      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.

            pruivo@redhat.com Pedro Ruivo
            pruivo@redhat.com Pedro Ruivo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: