When configuring a connection to DB2 I need a way to point to the DB2 license jar as well as the jar containing the driver. See following error message.
com.ibm.db2.jcc.a.SqlException: The version of the IBM Universal JDBC driver in use is not licensed for connectivity to z/OS 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 classpath. Connectivity to z/OS databases is enabled by any of the following license files: { db2jcc_license_cisuz.jar }
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When configuring a connection to DB2 I need a way to point to the DB2 license jar as well as the jar containing the driver. See following error message.
com.ibm.db2.jcc.a.SqlException: The version of the IBM Universal JDBC driver in use is not licensed for connectivity to z/OS 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 classpath. Connectivity to z/OS databases is enabled by any of the following license files: { db2jcc_license_cisuz.jar }