Troubleshooting
Problem
This technote describes two issues that need to be addressed which might prevent you from connecting to the database when using IBM® DB2® or Oracle with the migration package for IBM Rational® Portfolio Manager v6.1.1.2 .
Resolving The Problem
This solution is broken down into two parts. The first part applies only to Oracle databases. The second part applies to both Oracle and DB2 databases.
Part 1:
When you are migrating to Portfolio Manager v6.1.1.2 and using an Oracle database, make the following alteration to the ConnectionPool.ini file, which is the main configuration file of the web application.
- Navigate to the …\war\WEB-INF\classes directory
- Open to edit the ConnectionPool.ini file, and locate the section labeled Oracle
############################
# ORACLE #
############################
Note: In this section you will find 7 “ALTER SESSION SET” statements - Locate and remove the following statement, which is deprecated and might impact performance on the database.:
“ALTER SESSION SET CLOSE_CACHED_OPEN_CURSORS = TRUE” - Set the “Statements=7” property to 6, “Statements=6”
- Re-sequence the “Statement#=” to 1 through 6 as shown in the example:
Statements=6
Statement1=ALTER SESSION SET NLS_TERRITORY = AMERICA
Statement2=ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD'
Statement3=ALTER SESSION SET NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD hh24:mi:ss.ff6'
Statement4=ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT = 'YYYY-MM-DD hh24:mi:ss.ff6'
Statement5=ALTER SESSION SET NLS_NUMERIC_CHARACTERS = '.,'
Statement6=ALTER SESSION SET NLS_SORT = BINARY
Part 2:
The JDBC™ driver that is used to connect to your database system, which is included with the IBMRPM61.ear, is incorrect.
To correct this issue you need to overwrite the following file within the extracted IBMRPM61.ear file with the one found in the …\WEB-INF\lib directory:
- db2java.jar if you are using DB2 as your database vendor
- classes12.jar if you are using Oracle as your database vendor
[{"Product":{"code":"SSRR2G","label":"Rational Portfolio Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation and Configuration: Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21218952