01.06.2013 Views

OpenEdge Getting Started: Installation and Configuration - Product ...

OpenEdge Getting Started: Installation and Configuration - Product ...

OpenEdge Getting Started: Installation and Configuration - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 10: <strong>Configuration</strong><br />

Specifying IP version for underlying Java code<br />

The <strong>OpenEdge</strong> NameServer <strong>and</strong> AppServer broker are implemented in Java. You<br />

must set Java system properties in the ubroker.properties file to properly configure IP<br />

communications, as described in Table 57.<br />

Table 57: Java properties for IPv6<br />

Define the property ... As ... To configure ...<br />

java.net.preferIPv4Stack true The AppServer or NameServer<br />

to only use IPv4 sockets. The<br />

AppServer or NameServer are<br />

not able to communicate with<br />

IPv6 clients.<br />

You can add the Java system properties to your ubroker.properties file by adding the<br />

jvmArgs property. The jvmArgs property is not defined by default. The following<br />

example shows the jvmArgs property specified for a sample AppServer named doc:<br />

Database connection notes<br />

false The AppServer or NameServer<br />

to communicate with both IPv4<br />

<strong>and</strong> IPv6 hosts.<br />

java.net.preferIPv6Addresses true The default preference of IPv6<br />

addresses over IPv4 addresses if<br />

IPv6 is available on the host<br />

system. This setting impacts the<br />

default hostname resolution for<br />

NameServer registration.<br />

false The default preference of IPv4<br />

addresses over IPv6 addresses if<br />

IPv6 is available on the host<br />

system. The AppServer will<br />

resolve the default hostname to<br />

an IPv4 address, even if an IPv6<br />

address is configured.<br />

[Ubroker.AS.doc]<br />

jvmArgs=-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true<br />

You can further configure your database server communications through AdminServer<br />

configuration or broker startup. For example:<br />

• AdminServer <strong>and</strong> RDBMS — Add an additional parameter for the AdminServer<br />

to direct the database broker <strong>and</strong> the database agent ports to only accept<br />

connections from the exact type address specified. Edit the file<br />

AdminServerPlugins.properties to indicate the following information:<br />

[PluginPolicy.Progress.AdminServer]<br />

jvmargs=-DforceIPver=<br />

312 <strong>OpenEdge</strong> <strong>Getting</strong> <strong>Started</strong>: <strong>Installation</strong> <strong>and</strong> <strong>Configuration</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!