]
Bela Ban commented on JGRP-1358:
--------------------------------
Corrected the documentation
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: