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

Resource leak in HotRod Server when unable to start

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.Final
    • 6.0.0.Final
    • 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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: