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:
- 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};
- 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:
- Log in to WAS console.
- Click Servers > Server Types > WebSphere application servers > Server1.
- Click Java and Process Management > Process definition.
- Click Java Virtual Machine under Additional Properties.
- Add following line in the Generic JVM arguments field:
-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true
- 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
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21662521