[jboss-jira] [JBoss JIRA] Resolved: (JGRP-1290) Windows 7 might throw SocketException instead of BindException

Bela Ban (JIRA) jira-events at lists.jboss.org
Tue Mar 8 10:54:49 EST 2011


     [ https://issues.jboss.org/browse/JGRP-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1290.
----------------------------

    Resolution: Deferred


I won't change critical code without being able to test it, or have someone else confirm it works.
If you can send me a patch that was tried out in a Win 7 env, I'll happily apply it. We can fix this in 2.12.1 if needed ...

> Windows 7 might throw SocketException instead of BindException
> --------------------------------------------------------------
>
>                 Key: JGRP-1290
>                 URL: https://issues.jboss.org/browse/JGRP-1290
>             Project: JGroups
>          Issue Type: Enhancement
>    Affects Versions: 2.12
>         Environment: Windows 7
>            Reporter: Manuel Dominguez Sarmiento
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 2.12
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list