Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1290

Windows 7 might throw SocketException instead of BindException

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • 2.12.1
    • 2.12
    • None
    • Low

      This is not actually a JGroups bug, it's more of a Sun JVM bug. See the following:

      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6939037

      In short, when a port is in use in Windows 7, SocketException is thrown instead of the more specific BindException.

      JGroups has code in several places that probes for available ports. Perhaps Windows 7 should be detected, and SocketException be caught instead of BindException in these circumstances.

      Before anyone cries out "get a real OS", we use RHEL on our production servers, but some of our developers use Windows 7 on their development boxes.

            rhn-engineering-bban Bela Ban
            madsrenxo Manuel Dominguez Sarmiento (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: