Datasource in global context.xml seems to be created multiple times

Solution Verified - Updated -

Issue

  • We've created a datasource in the tomcat global context.xml. The datasource seems to be created and duplicated for each application. For instance, with maxIdle set to 25 and four applications deployed, there appears to actually be 100 idle connections allowed to the database.

Environment

  • JBoss Enterprise Web Server (JWS)
  • Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In