[jboss-jira] [JBoss JIRA] (AS7-4565) CLONE - AS cannot resolve interfaces whose IPv? address types don't match java.net.preferIPv4Stack and java.net.preferIPv6Addresses
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Apr 20 17:03:17 EDT 2012
[ https://issues.jboss.org/browse/AS7-4565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12686215#comment-12686215 ]
Brian Stansberry commented on AS7-4565:
---------------------------------------
Note that setting -Djava.net.preferIPv4Stack=true affects the behavior of the java.net.NetworkInterface class such that getInetAddresses() only returns IPv4 addresses. So, if a mix of address types is desired, do not set -Djava.net.preferIPv4Stack=true. Setting -Djava.net.preferIPv4Stack=false does not limit the set of returned addresses to IPv6 only.
> CLONE - AS cannot resolve interfaces whose IPv? address types don't match java.net.preferIPv4Stack and java.net.preferIPv6Addresses
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: AS7-4565
> URL: https://issues.jboss.org/browse/AS7-4565
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.0.0.Final, 7.1.0.Final, 7.1.1.Final
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 7.1.2.Final-redhat1
>
>
> NetworkInterfaceService is using the values for java.net.preferIPv4Stack and java.net.preferIPv6Addresses to limit the selection of IP addresses that are tested for a possible match to the configured interface matching criteria. This means that if -Djava.net.preferIPv6Addresses=true is set, only IPv6 addresses can be matched, which goes beyond the scope of that setting. If -Djava.net.preferIPv4Stack=true is set, only IPv4 addresses can be matched. Only if neither is set can a mix of addresses be used.
--
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
More information about the jboss-jira
mailing list