Datasource in global context.xml seems to be created multiple times
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, tools, and much more.