[英]where to deploy ibm db2 license file in apache karaf
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. 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"
它失败并显示一个非常响亮的错误消息,即许可证文件 db2jcc_license_cisuz.jar 需要“在类路径上”
Where should I put this file in karaf?我应该把这个文件放在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.
我尝试将其安装为“包装”捆绑包并在具有蓝图的捆绑包中的许可证 package 上执行 Import-Package,但这似乎不起作用。 Should be deployed as a fragment to the bridge??
应该作为片段部署到网桥?? should i repackage everything?
我应该重新包装所有东西吗?
What is the "correct" way to deploy these "licenses" in karaf?在 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升级驱动,从这里下载: http://ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.