13 Apr 2023
12:13 PM
- last edited on
16 Apr 2023
11:50 PM
by
MaciejNeumann
Hello!
I have tried to configure the Custom DB Query Extension against a DB2 for i Database but we haven't been able to make it work.
Using the DB2 JTOpen driver we encounter the following error:
Error running queries: Could not connect to the database using com.ibm.db2.jcc.DB2Driver: com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][t4][10509][13454][4.25.25] Connection to the data server failed. The IBM Data Server for JDBC and SQLJ license was invalid or was not activated for the DB2 for z/OS subsystem. If you are connecting directly to the data server and using DB2 Connect Unlimited Edition for System z, perform the activation step by running the activation program in the license activation kit. If you are using any other edition of DB2 Connect, obtain the license file, db2jcc_license_cisuz.jar, from the license activation kit, and follow the installation directions to include the license file in the class path. ERRORCODE=-4230, SQLSTATE=42968
Is there any restriction for DB2 running on i Series with this extension?
Where do we need to put that .jar file that the exception refers to?
Thank you very much!
Yes you need the license file (jar) to put on the classpath.
For this Custom DB query extension, did you try to put it into jars directory of the extension on the ActiveGate? e.g.:
plugin_deployment/custom.remote.python.dbquery/jars
Hi Julius! Thanks for your reply!
We will do that as soon as we procure the .jar file required!