-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
7.1.2
-
None
-
7.01
-
When developing a JIRA plugin that uses an external datasource (JTDS driver), the following error is thrown when establishing a database connection:
java.lang.IllegalArgumentException: Unable to create EvictionPolicy instance of type org.apache.tomcat.dbcp.pool2.impl.DefaultEvictionPolicy
This is due to an Apache commons pool bug: https://issues.apache.org/jira/browse/POOL-289
Tomcat absorbed this patch in version 8.0.26: https://tomcat.apache.org/tomcat-8.0-doc/changelog.html
We have verified that dropping JIRA 7.1.2 into a Tomcat 8.0.26+ container solves the problem.
What are the plans for a Tomcat 8 update? If a 8.0.26+ update is planned, what JIRA version is it planned for?
We can't drop in a new version of the Apache common pool library directly into our plugin (via Import-Package) because internally Tomcat uses their own version of the common pool classes. (org.apache.tomcat.dbcp.pool2 vs. org.apache.commons.pool2)
- relates to
-
JRASERVER-59887 Upgrade Tomcat to the latest 8.0.x release
- Closed
- mentioned in
-
Page Loading...