000034381 - RSA Identity Governance and Lifecycle error when using the IBM DB2 driver: "Unable to load database driver"

Document created by RSA Customer Support Employee on Nov 18, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000034381
Applies ToRSA Product Set: RSA Identity Governance and Lifecycle
RSA Product/Service Type: Enterprise Software
RSA Version/Condition: 7.0.0, 7.0.1
 
IssueAfter deploying the IBM DB2 driver as part of configuring a data collector the following error is shown in the /home/oracle/wildfly-8.2.0.Final/standalone/log/aveksaServer.log file:
 
11/07/2016 09:30:35.984 INFO (ApplyChangesRegularThread-4347) 
[com.aveksa.client.datacollector.framework.DataCollectorManager]
DCM147: Booted Data Collector -1 
11/07/2016 09:30:36.013 ERROR (ApplyChangesRegularThread-4347)
[com.aveksa.collector.accountdata.DBGenericAccountReader]
Unable to load database driver: com.ibm.db2.jdbc.net.DB2Driver
FAILED method=initDriver 
11/07/2016 09:30:36.013 ERROR (ApplyChangesRegularThread-4347)
[com.aveksa.collector.accountdata.DBGenericAccountReader]
Details : java.lang.ClassNotFoundException: com.ibm.db2.jdbc.net.DB2Driver
FAILED method=initDriver
CauseThe RSA Identity Governance and Lifecycle - IBM DB2 Collector Datasheet indicates that the IBM third-party library db2jcc.jar needs to obtained from IBM and installed in the lib directory to complete the installation of a database collector that connects to an IBM DB2 database.  It does not mention that you may also need to install a license file for this third-party library to function correctly.  This error may occur if you attempt to make a DB2 JDBC connection to a licensed IBM database.
ResolutionIn addition to installing the IBM third-party library db2jcc.jar, the IBM license file db2jcc_license_cu.jar may also be required to be installed in the same directory.  The requirement depends on the type of database to which you are connecting.  If the DB2 driver is only used to access database types with public licensing no IBM license file is required, however if a connection is made to a licensed IBM database then the license file is required.
Follow the same instructions in the RSA Identity Governance and Lifecycle - IBM DB2 Collector Datasheet for installation of the db2jcc_license_cu.jar file. 
Contact IBM for more information on the licensing requirements for the DB2 driver. 

Attachments

    Outcomes