[
https://jira.jboss.org/browse/JBAS-8540?page=com.atlassian.jira.plugin.sy...
]
Richard Achmatowicz commented on JBAS-8540:
-------------------------------------------
38. Fixed up org.jboss.test.naming.test.NamingRestartUnitTestCase to use an autodiscovery
multicast address based on IP stack selection.
This test case deploys naming-restart.sar which deploys several beans bvia
naming-restart-jboss-beans.xml, one of which is
RestartHAJNDI which makes use of a custom, hard-coded multicast address 230.9.9.9. Under
IPv6, this multicast address will not allow
messages to be delivered and must be replaced by an IPv6 counterpart (say, ff0e::9:9:9)
Making a decision based on IP stack in the deployment of a bean oin the server side is not
so easy at present (maybe service binding manager
can be adjusted to take into account IPv4 vs IPv6 addresses in future), so I defined a new
ant system property jbosstest.naming.autodiscovery.mcast_addr which
is set to either one of the two addresses above, based on the IP stack in place, and set
up the test case to use that, modifying:
build.xml
NamingRestartUnitTestCase.java
naming-restart-jboss-beans.xml
imports/server-config.xml
Modify AS 6 and AS 6 testsuite to work with IPv6 addresses
----------------------------------------------------------
Key: JBAS-8540
URL:
https://jira.jboss.org/browse/JBAS-8540
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.M4
Environment: All certified platforms.
Reporter: Richard Achmatowicz
Assignee: Richard Achmatowicz
Fix For: TBD
Modify AS 6 and the AS 6 testsuite to work with IPv6 addresses.
The end result should be:
(i) AS 6 boots cleanly with both IPv4 and IPv6 addresses
(ii) the AS testsuite and its test cases run cleanly against IPv4 and IPv6 addresses
This task does not aim to certify that AS 6 is IPv6-compatible or ready. Such a
certification may require the development of additional test cases to verify specific
features relating to IPv6. For a discussion of such issues, see
https://docspace.corp.redhat.com/docs/DOC-47796.
This work is a precursor to making AS 7 IPv6 compatible.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira