While trying to make connection in Hibernator I am getting the following Exception even both the license jars are there in the class path of the project.
The editor I am using is RSA
Ignoring resources in Project output: /HibernatorTest/bin
Adding Project Depedents C:/IBM/WORK/19_DEC_ DEV/HibernatorTest/lib/db2jcc_license_cisuz-8.2.jar
Adding Project Depedents C:/IBM/WORK/19_DEC_ DEV/HibernatorTest/lib/db2jcc_license_cu-8.2.jar
Adding Project Classpath file:/C:/IBM/WORK/19_DEC_ DEV/HibernatorTest/bin/
com.ibm.db2.jcc.b.SqlException: The version of the IBM Universal JDBC driver in use is not licensed for connectivity to DB2 for Unix/Windows 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 DB2 for Unix/Windows databases is enabled by any of the following license files: { db2jcc_license_cu.jar, db2jcc_license_cisuz.jar }
at com.ibm.db2.jcc.b.o.db(Unknown Source)
at com.ibm.db2.jcc.b.o.cb(Unknown Source)
at com.ibm.db2.jcc.a.b.cb(Unknown Source)
at com.ibm.db2.jcc.a.b.<init>(Unknown Source)
at com.ibm.db2.jcc.DB2Driver.connect(Unknown Source)
at net.sf.hibernator.HibernateConnection.createConnection(Unknown Source)
at net.sf.hibernator.views.ConnectionView$8.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
Any Hints?
Thanks
Palodan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Experts,
While trying to make connection in Hibernator I am getting the following Exception even both the license jars are there in the class path of the project.
The editor I am using is RSA
Ignoring resources in Project output: /HibernatorTest/bin
Adding Project Depedents C:/IBM/WORK/19_DEC_ DEV/HibernatorTest/lib/db2jcc_license_cisuz-8.2.jar
Adding Project Depedents C:/IBM/WORK/19_DEC_ DEV/HibernatorTest/lib/db2jcc_license_cu-8.2.jar
Adding Project Classpath file:/C:/IBM/WORK/19_DEC_ DEV/HibernatorTest/bin/
com.ibm.db2.jcc.b.SqlException: The version of the IBM Universal JDBC driver in use is not licensed for connectivity to DB2 for Unix/Windows 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 DB2 for Unix/Windows databases is enabled by any of the following license files: { db2jcc_license_cu.jar, db2jcc_license_cisuz.jar }
at com.ibm.db2.jcc.b.o.db(Unknown Source)
at com.ibm.db2.jcc.b.o.cb(Unknown Source)
at com.ibm.db2.jcc.a.b.cb(Unknown Source)
at com.ibm.db2.jcc.a.b.<init>(Unknown Source)
at com.ibm.db2.jcc.DB2Driver.connect(Unknown Source)
at net.sf.hibernator.HibernateConnection.createConnection(Unknown Source)
at net.sf.hibernator.views.ConnectionView$8.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
Any Hints?
Thanks
Palodan