This article describes what to do when you want to use Db2 with a license jar file.
On the DbDriverClasspath property in the JDBC node, if you add an entry in there, it will override any other classpath that was in the node, rather than append. This is by design, for the purpose of avoiding conflicting drivers.
However, you may wish to use Db2 and need to add a license jar file (for example: db2jcc_license_cu.jar).
In this case, an admin will need to apply the following steps:
- Make a new folder to contain both jars
- copy db2 jar and the license jar into that new folder
- Put that new folder name into the DbDriverClassPath parameter
Unfortunately, at this time, if you add the license jar to the shipped db2 folder, it does not get picked up by the node. Steps are being taken by the team to provide a better solution. Specifically, when a user picks DB2 from the drop down menu in the JDBC node, the following classpath will be automatically added so that the license folder becomes appended to the classpaths:
<Data360Analyze site configuration directory>/site-<port>/lib/java/db/db2The Jira for this is: LAE-23828