I need to connect to db2 using a java.sql.DataSource , I installed the db2 driver, setup necessary beans in blueprint, everything is fine, until it gets to the point where the driver tries to make a connection. It fails with a very loud error message that the license file db2jcc_license_cisuz.jar needs to "be on the classpath"
Where should I put this file in karaf? I tried installing it as a "wrapped" bundle and doing Import-Package on the license package in the bundle that has the blueprint, but this doesn't seem to work. Should be deployed as a fragment to the bridge ?? should i repackage everything?
What is the "correct" way to deploy these "licenses" in karaf? Can't find anything about it in the manual.
Upgraded the driver, downloaded from here: http://ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads