[
https://issues.jboss.org/browse/AS7-3993?page=com.atlassian.jira.plugin.s...
]
Richard Achmatowicz edited comment on AS7-3993 at 3/2/12 10:05 AM:
-------------------------------------------------------------------
Ondra
Stuart has fixed the problem with the changeIPAddresses.xsl script not updating any of the
multicast address changes.
Taking my comments above, here is what the section of the configuration file should look
like:
{noformat}
<subsystem xmlns="urn:jboss:domain:webservices:1.1">
<modify-wsdl-address>true</modify-wsdl-address>
<wsdl-host>::1</wsdl-host>
<endpoint-config name="Standard-Endpoint-Config"/>
[snip]
</subsystem>
</profile>
<interfaces>
<interface name="management">
<inet-address value="::1"/>
</interface>
<interface name="public">
<inet-address value="::1"/>
</interface>
<interface name="unsecure">
<inet-address value="::1"/>
</interface>
</interfaces>
<socket-binding-group name="standard-sockets"
default-interface="public"
port-offset="${jboss.socket.binding.port-offset:0}">
<socket-binding name="management-native" interface="management"
port="${jboss.management.native.port:9999}"/>
<socket-binding name="management-http" interface="management"
port="${jboss.management.http.port:9990}"/>
<socket-binding name="management-https" interface="management"
port="${jboss.management.https.port:9443}"/>
<socket-binding name="http" port="8080"/>
<socket-binding name="https" port="8443"/>
<socket-binding name="jgroups-diagnostics" port="0"
multicast-address="ff0e::1" multicast-port="7500"/>
<socket-binding name="jgroups-mping" port="0"
multicast-address="ff0e::2" multicast-port="45700"/>
<socket-binding name="jgroups-tcp" port="7600"/>
<socket-binding name="jgroups-tcp-fd" port="57600"/>
<socket-binding name="jgroups-udp" port="55200"
multicast-address="ff0e::3" multicast-port="45688"/>
<socket-binding name="jgroups-udp-fd" port="54200"/>
<socket-binding name="modcluster" port="0"
multicast-address="ff0e::4" multicast-port="23364"/>
<socket-binding name="osgi-http" interface="management"
port="8090"/>
<socket-binding name="remoting" port="4447"/>
<socket-binding name="txn-recovery-environment"
port="4712"/>
<socket-binding name="txn-status-manager" port="4713"/>
<outbound-socket-binding name="mail-smtp">
<remote-destination host="localhost" port="25"/>
</outbound-socket-binding>
</socket-binding-group>
{noformat}
This is using a bind address of ::1 and different multicast addresses for
jgroups-diagnostics (ff0e::1), jgroups-mping (ff0e::2), jgroups-udp(ff0e::3) and
moscluster (ff0e::4). These are example values only and should be replaced by the
variables representing those values passed into changeIPAddresses (e.g. udpMcastAddress,
mpingMcastAddress, etc)
Also, fix the wsdl-host as above, setti8ng it to the bind address (node0 in the testsuite
for the fist node, or node1 for the second node).
It would also be nice to have the mechanism know when we are using an IPv6 stack vs an
IPv4 stack (e.g. check -Dipv6) and use IPv4 defaults or IPv6 defaults for the parameters
as required, so if values are not passed in, a good set of defaults is used.
was (Author: rachmato):
Ondra
Stuart has fixed the problem with the changeIPAddresses.xsl script not updating any of the
multicast address changes.
Taking my comments above, here is what the section of the configuration file should look
like:
{noformat}
<subsystem xmlns="urn:jboss:domain:webservices:1.1">
<modify-wsdl-address>true</modify-wsdl-address>
<wsdl-host>::1</wsdl-host>
<endpoint-config name="Standard-Endpoint-Config"/>
[snip]
</subsystem>
</profile>
<interfaces>
<interface name="management">
<inet-address value="::1"/>
</interface>
<interface name="public">
<inet-address value="::1"/>
</interface>
<interface name="unsecure">
<inet-address value="::1"/>
</interface>
</interfaces>
<socket-binding-group name="standard-sockets"
default-interface="public"
port-offset="${jboss.socket.binding.port-offset:0}">
<socket-binding name="management-native" interface="management"
port="${jboss.management.native.port:9999}"/>
<socket-binding name="management-http" interface="management"
port="${jboss.management.http.port:9990}"/>
<socket-binding name="management-https" interface="management"
port="${jboss.management.https.port:9443}"/>
<socket-binding name="http" port="8080"/>
<socket-binding name="https" port="8443"/>
<socket-binding name="jgroups-diagnostics" port="0"
multicast-address="ff0e::1" multicast-port="7500"/>
<socket-binding name="jgroups-mping" port="0"
multicast-address="ff0e::2" multicast-="45700"/>
<socket-binding name="jgroups-tcp" port="7600"/>
<socket-binding name="jgroups-tcp-fd" port="57600"/>
<socket-binding name="jgroups-udp" port="55200"
multicast-address="ff0e::3" multicast-port="45688"/>
<socket-binding name="jgroups-udp-fd" port="54200"/>
<socket-binding name="modcluster" port="0"
multicast-address="ff0e::4" multicast-port="23364"/>
<socket-binding name="osgi-http" interface="management"
port="8090"/>
<socket-binding name="remoting" port="4447"/>
<socket-binding name="txn-recovery-environment"
port="4712"/>
<socket-binding name="txn-status-manager" port="4713"/>
<outbound-socket-binding name="mail-smtp">
<remote-destination host="localhost" port="25"/>
</outbound-socket-binding>
</socket-binding-group>
{noformat}
This is using a bind address of ::1 and different multicast addresses for
jgroups-diagnostics (ff0e::1), jgroups-mping (ff0e::2), jgroups-udp(ff0e::3) and
moscluster (ff0e::4). These are example values only and should be replaced by the
variables representing those values passed into changeIPAddresses (e.g. udpMcastAddress,
mpingMcastAddress, etc)
Also, fix the wsdl-host as above, setti8ng it to the bind address (node0 in the testsuite
for the fist node, or node1 for the second node).
It would also be nice to have the mechanism know when we are using an IPv6 stack vs an
IPv4 stack (e.g. check -Dipv6) and use IPv4 defaults or IPv6 defaults for the parameters
as required, so if values are not passed in, a good set of defaults is used.
Fix up generation of IPv6-ready configs for IPv6 testing
--------------------------------------------------------
Key: AS7-3993
URL:
https://issues.jboss.org/browse/AS7-3993
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.1.0.Final
Reporter: Richard Achmatowicz
Assignee: Radoslav Husar
Priority: Critical
Fix For: 7.1.1.Final
The testsuite uses a combination of:
- the ant script clustering-build.xml, with target build-clustering-udp
- the ant script common-targets.xml, with target ts.config-as.ip-with-multicast and
- the XSLT script changeIAddresses.xsl
to set up IPv6 addresses for testing multi-node tests.
There are several problems:
- the XSLT script is broken and does not change the multicast addresses
- a number of multicast addresses are not receiving IPv6 defaults/overrides; in
particular, we have the following required overrides:
UDP JGroups stack multicast requirements:
-- socket-binding jgroups-udp: no IPv6 multicast address assigned, due to broken
changeIPAddresses.xml
-- socket-binding jgroups-diagnostics: no IPv6 multicast address assigned, due to no
parameter passed in ts.config-as.ip-with-multicast
TCP JGroups stack multicast-requirements:
-- socket-binding jgroups-mping: no IPv6 multicast address assigned, due to no parameter
passed in ts.config-as.ip-with-multicast
-- socket-binding jgroups-diagnostics: no IPv6 multicast address assigned, due to no
parameter passed in ts.config-as.ip-with-multicast
mosdcluster multicast-requirements:
-- socket-binding modcluster: no IPv6 multicast address assigned, due to no parameter
passed in ts.config-as.ip-with-multicast
This results in server configurations which are not correctly configured for testing
against IPv6 addresses.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira