Disabling IPv6 in a clustered environment

Some JDKs do not function correctly with IPv6. Disable IPv6 on any application server hosting Guidewire applications.

To disable IPv6, set the following java option for your application server JVM:

java.net.preferIPv4Stack=true

See the following table for details.

Tomcat

Add the specified option to the CATALINA_OPTS environment variable.

WebLogic

Either add this option to the JAVA_OPTIONS environment variable or directly modify the setDomainEnv.sh file for the domain hosting PolicyCenter:

  • If you modify JAVA_OPTIONS, the option applies to all WebLogic instances on that server.
  • If you modify setDomainEnv.sh, the option only applies to that domain.

If you modify setDomainEnv.sh, add the option to the following line:

  JAVA_OPTIONS="${JAVA_OPTIONS} ${JAVA_PROPERTIES}

        -Dwlw.iterativeDev=${iterativeDevFlag}

        -Dwlw.testConsole=${testConsoleFlag}

        -Dwlw.logErrorsToConsole=${logErrorsToConsoleFlag}"

WebSphere

Add the option by using the Administrative Console:

  1. Navigate to Servers > Application servers > server.
  2. In the Server Infrastructure section, navigate to the following location:

    Java and process management > Process definition > Java virtual machine

  3. Click Custom Properties.
  4. Add the following option:

    java.net.preferIPv4Stack=true

For more information on setting JVM options, see the documentation provided with your application server.