JGroups can not parse IPV6 literals in TCPPING protocol
configuration
---------------------------------------------------------------------
Key: JGRP-984
URL:
https://jira.jboss.org/jira/browse/JGRP-984
Project: JGroups
Issue Type: Bug
Affects Versions: 2.4.6
Reporter: Brian Stansberry
Assignee: Bela Ban
Fix For: 2.4.7, 2.6.11, 2.8
ON JBPAPP-2013 Dominik Pospisil reports the IPv6 address parsing fix in 2.4.6 doesn't
handle TCPPING:
Both
<TCPPING initial_hosts="::1[7810],fec0::f101:21a:a0ff:fea0:d745[7810]"
port_range="3" timeout="3000" down_thread="false"
up_thread="false" num_initial_members="3"/>
and
<TCPPING initial_hosts="[::1][7810],[fec0::f101:21a:a0ff:fea0:d745][7810]"
port_range="3" timeout="3000" down_thread="false"
up_thread="false" num_initial_members="3"/>
fails with:
16:57:56,443 ERROR [TCPPING] exeption is java.lang.NumberFormatException: For input
string: "::1"
16:57:56,443 ERROR [TCPPING] exeption is java.lang.NumberFormatException: For input
string: "fec0::f101:21a:a0ff:fea0:d745"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: