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

BspPeer launched fail because port is bound by others

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.2
    • 0.6.3
    • bsp core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: