Tomcat log shows message "maxActive is not used in DBCP2, use maxTotal instead"

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content