Tomcat log shows message "maxActive is not used in DBCP2, use maxTotal instead"
Issue
-
We are having performance issues that seem related to database access. When investigating the logs we found messages like these:
"maxActive is not used in DBCP2, use maxTotal instead" "maxWait is not used in DBCP2 , use maxWaitMillis instead" "removeAbandoned is not used in DBCP2, use one or both of removeAbandonedOnBorrow or removeAbandonedOnMaintenance instead"
Environment
- Red Hat JBoss Web Server (JWS) 5.0+
- Tomcat 9+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.