[jboss-jira] [JBoss JIRA] Resolved: (JGRP-1358) Documentation problem with port_range

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Sep 1 08:40:26 EDT 2011


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

Bela Ban resolved JGRP-1358.
----------------------------

    Resolution: Done


> Documentation problem with port_range
> -------------------------------------
>
>                 Key: JGRP-1358
>                 URL: https://issues.jboss.org/browse/JGRP-1358
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.12
>         Environment: Linux
>            Reporter: Jean-Philippe Gariepy
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 3.0
>
>
> port_range for TCP is document as infinite if 0.  This does not seem to be the case.  If I start a second node, I got:
> Caused by: java.net.BindException: No available port to bind to in range [7800 .. 7800]
> 	at org.jgroups.util.Util.createServerSocket(Util.java:3051)
> 	at org.jgroups.blocks.TCPConnectionMap.<init>(TCPConnectionMap.java:88)
> 	at org.jgroups.blocks.TCPConnectionMap.<init>(TCPConnectionMap.java:55)
> 	at org.jgroups.protocols.TCP.createConnectionMap(TCP.java:130)
> 	at org.jgroups.protocols.TCP.start(TCP.java:64)
> 	at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:990)
> 	at org.jgroups.JChannel.startStack(JChannel.java:1784
> 0 is useful to indicate that only one port should be used (bind_port+0).
> Magic value for infinite should rather be -1.

--
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