Hi everyone

I have several web apps that are getting info from a database under the same username. I had it set up with a context in each app. However I have a limit on the number of connection I am allowed to have and I run into an issue with one app dominating the pool.

For example, I have 10 connections (limited at the DB level) available to me and would like every app to have access to all 10. However if I put this in the context then the first app to use the pool will 'own' those connections and the other apps get nothing. Giving each app a set number of connection, like 2, 3, and 5, does not seem like a good solution.

I tried putting the context in the conf/Catalina/myhost/ context.xml.default file and got much the same results.

I would really love a solution that allows me to share the connection pool for each of the apps.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to