Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-789

BspPeer launched fail because port is bound by others

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.2
    • Fix Version/s: 0.6.3
    • Component/s: bsp core
    • Labels:
      None

      Description

      In GroomServer, we call BSPNetUtils.getNextAvailable to assigning the bsppeer listening port. After figures out an available port, the GroomServer release the port and launches the BspPeer(Child), then the child listens to this port.

      However, during the GroomServer release the port and peer listens the port, if other process in the operation system binds to the same port occasionally, the bsppeer will fail to start up because of "Address already in use" exception.

        Attachments

        1. HAMA-789.patch
          17 kB
          Suraj Menon
        2. HAMA-789.patch
          17 kB
          Suraj Menon

          Activity

            People

            • Assignee:
              surajsmenon Suraj Menon
              Reporter:
              kennethxian MaoYuan Xian
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: