IBM Support

IPv4 instead of IPv6 is used to communicate between server and database server

Troubleshooting


Problem

Attempts to connect to the database using IBM Collaborative Lifecycle Management (CLM) products when IP address in database connection string is in version 6 causes using IPv4.

Symptom

Steps to reproduce:

  1. Set up connection string in CLM application such as IBM Jazz Team Server (JTS), IBM Rational Team Concert (RTC) or IBM Rational Quality Manager (RQM) to use IPv6. Here is example connection string:

    //[::1]:50000/JTS:user=db2inst1;password={password};
  2. Start Wireshark tool to overhear connection between CLM and database server.

    Expected result:
    The connection goes through IPv6.

    Actual result:
    The connection goes through IPv4.

Cause

CLM Applications are Java applications. In Java applications the communication goes through IPv4 as default.

Environment

IBM WebSphere Application Server (WAS) as an application server.

Resolving The Problem

Procedure:

  1. Log in to WAS console.

  2. Click Servers > Server Types > WebSphere application servers > Server1.

  3. Click Java and Process Management > Process definition.

  4. Click Java Virtual Machine under Additional Properties.

  5. Add following line in the Generic JVM arguments field:
    -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true

  6. Restart WAS profile.

[{"Product":{"code":"SSUVV6","label":"IBM Engineering Test Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Web App Server","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"4.0.0.1;4.0.0.2;4.0.1;4.0.2;4.0.3;4.0.4;4.0.5;4.0.6;5.0","Edition":"Standard","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSUC3U","label":"IBM Engineering Workflow Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Repository","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"4.0.1;4.0.2;4.0.3;4.0.4;4.0.5;4.0.6;5.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Team Concert;Rational Quality Manager

Document Information

Modified date:
29 September 2018

UID

swg21662521