Thread: Error in connection with DB2
07-18-08, 02:21 #1Registered User
- Join Date
- Jul 2008
Unanswered: Error in connection with DB2
I am facing this issue while running a server. Can you please help me out as soon as possible?
Error in getting connection for thread <WrapperSimpleAppMain>com.ibm.db2.jcc.b.SqlExcepti on: [ibm][db2][jcc] The version of the IBM Universal JDBC driver in use is not licensed for connectivity to QDB2 databases.
To connect to this DB2 server, please obtain a licensed copy of the IBM DB2 Universal Driver for JDBC and SQLJ.
An appropriate license file db2jcc_license_*.jar for this target platform must be installed to the application class path.
Connectivity to QDB2 databases is enabled by any of the following license files: [ db2jcc_license_cisuz.jar ].
07-18-08, 02:41 #2Registered User
- Join Date
- May 2003
Assuming your are connecting to DB2 for Linux, UNIX, or Windows, the license file is free, but must be placed on the path with the type 4 driver. The license file is included when you download the driver.
If you are connecting to DB2 for z/OS or DB2 for i/Series, you will need a DB2 Connect license.M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390