SqlException No License is Present in DB2

Still need help?

The Atlassian Community is here for you.

Ask the community

Unable to render {include} The included page could not be found.

Symptoms

Configuring JIRA with DB2 fails with the exception:


org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (No license is present.)
	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        ........
Caused by: com.ibm.db2.jcc.c.SqlException: No license is present.
	at com.ibm.db2.jcc.c.o.d(o.java:563)

Cause

The db2jcc_license_cu.jar is missing from the classpath.

Resolution

The db2jcc_license_cu.jar must also be copied along with db2jcc.jar from your DB2 installation. Restart JIRA after copying the file to the lib directory.


Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.