Table of Contents
This appendix describes how to configure IPv6.
Use the following steps to configure JEUS in IPv6 environment.
Modify the jeus, jeus-quickstart, startexampleserver, jeus.properties, startderby, and stopderby scripts.
Add environment variables for the embedded WebtoB.
Verify operation.
The loopback address must be set to "::1" in the 'hosts' file of the server.
The 'hosts' file is located in the following paths, depending on the OS.
Windows
C:/WINDOWS/system32/drivers/etc
UNIX series
/etc/hosts
The following is a sample 'hosts' file.
[Example B.1] <<hosts>>
[jeusqa@ipv6linux /home/jeusqa]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. #127.0.0.1 localhost #::1 localhost6.localdomain6 localhost6 ::1 localhost
This section describes the environment configurations for IPv6.
IPv6 environment configurations are different for each file.
File Name : jeus, jeus-quickstart, and startexampleserver
Existing environment variable
-Djava.net.preferIPv4Stack=true /
Updated environment variables
-Djava.net.preferIPv6Addresses=true / -Djava.net.preferIPv4Stack=false /
File Name : jeus.properties
Existing environment variable
TOOL_OPTION="-Djeus.tm.not_use=true -Djava.net.preferIPv4Stack=true"
Updated environment variable
TOOL_OPTION="-Djeus.tm.not_use=true -Djava.net.preferIPv6Addresses=true -Djava.net.preferIPv4Stack=false"
File Name :: startderby and stopderby
Existing environment variable
-Dderby.system.home="${JEUS_HOME}/derby/databases" /
Updated environment variables
-Dderby.system.home="${JEUS_HOME}/derby/databases" / -Djava.net.preferIPv6Addresses=true / -Djava.net.preferIPv4Stack=false /
Adding an environment variable to use embedded WebtoB
The following environment variable must be added to use the embedded WebtoB in IPv6 environment.
If omitted, IPv4 is used by default.
export WEBTOB_PREFER_IPV6=Y