Some network topologies, especially where the Java system default values are “
-Djava.net.preferIPv4Stack=true” and “
-Djava.net.preferIPv6Addresses=false”, will cause
RMI-based OpenEdge command line utilities to fail. The failure occurs when attempting to resolve an
IPv6 hostname/IP address causing the connection to the remote process to fail.
Example:
nsman –name NS1 –query –host ::1 Starting with OpenEdge 10.1C, this issue can be avoided by Configuring for iPv6 explicitly:
1. Edit the
$DLC/properties/JavaTools.properties and locate the “
[Common]” section.
Within this section, modify the “
jvmargs"” property by appending:
“-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true”. The completed property should appear as follows:
“jvmargs=-ms8m –mx25m -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true”.2. Start the AdminServer with the ipver switch set to
ipv6.
$ proadsv -start -ipver ipv6
These changes will result in the RMI-based OpenEdge command line utilities being able to successfully resolve IPv6 hostnames/IP addresses.