Error after updating apache to 9.0.58
Article # 3039913 - Page views: 46
Issue
After upgrading to latest Tomcat version (9.0.58), Management Console no longer opens and we see this error in logs:
Caused by: javax.management.NotCompliantMBeanException: org.apache.tomcat.dbcp.dbcp2.BasicDataSourceMXBean: Method org.apache.tomcat.dbcp.dbcp2.DataSourceMXBean.getSoftMinEvictableIdleDuration has parameter or return type that cannot be translated into an open type
Solution
As of Tomcat 9.0.58 you need to add the following parameter to the <Resource> element in the Context xml (ManagementConsole.xml file you created under Tomcat/conf/Catalina/localhost)
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
Level of Complexity
Easy
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Kofax RPA | All | Tomcat 9.0.58 |