Consultor Eletrônico



Kbase P168389: How to set which IPv4 or IPv6 stack is used for a specific service in OpenEdge?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/13/2010
Status: Verified

GOAL:

How to set which IPv4 or IPv6 stack is used for a specific service in OpenEdge?

GOAL:

How to force an AppServer Broker to make use of IPV4 of IPV6 protocol?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1x
OpenEdge 10.2x
OpenEdge Category: Configuration

CAUSE:

The Progress / OpenEdge processes can use IPv4 or IPv6.

The following jvmargs options may be put into the JavaTools.properties, AdminServerPlugins.properties or ubroker.properties to limit (set preference for) which protocol stack is used by specific services within OpenEdge.

-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false (These can be changed to reflect your specific needs).

Example:

JavaTools.properties file
[Common]
classpath=${JAVAHOME}/lib/tools.jar,${DLC}/java/progress.jar,${DLC}/java/messages.jar
jvmargs=-ms8m -mx25m =-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false
policyfile=${DLC}/java/java.policy

To limit which protocol stack is used by all services defined in the AdminServerPlugins.properties file, add the jvmargs to the plugin policy section.

Example:
AdminServerPlugins.properties file

[PluginPolicy]
classloader=java.net.URLClassLoader
classpath=
pluginclasspath=
jvmargs=-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false
policyfile=${DLC}/java/java.policy
authpolicy=
loginconfig=
umask=

To limit the which protocol stack is used by specific services, the additional arguments to the jvmargs should be added just to those specific policies.

Example:

AdminServerPlugins.properties file
[PluginPolicy.Progress.AdminServer]
pluginclasspath=!{value-of:classpath}
classpath=c:\dlc101c/java/ext/jmxri.jar,c:\dlc101c/java/ext/mgmt_agent.jar,c:\dlc101c/java/ext/mgmt_client.jar,c:\dlc101c/java/ext/mgmt_config.jar,c:\dlc101c/java/ext/sonic_Client.jar,c:\dlc101c/java/progress.jar,c:\dlc101c/java/osmetrics.jar,c:\dlc101c/java/jdbc.jar,c:\dlc101c/java/base.jar,c:\dlc101c/java/openedge.jar,c:\dlc101c/java/util.jar,c:\dlc101c/java/ext/soap.jar,c:\dlc101c/java/prorepl.jar,c:\dlc101c/java/ext/wsdl4j.jar
jvmargs=-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false

This can also be set for specific AppServer brokers in the ubroker.properties file.

Example:

ubroker.properties file

[Environment.asbroker1]
TESTENV=MYENV
jvmargs=-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false