Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DB connection pool per webapp if defined in context.xml?  RSS feed

Michael Remijan
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quick question, if I have my <Resource.../> tag in my webapp's META-INF/context.xml to set up a database connection pool, where does Tomcat put this pool? Specifically what I want to know, if I deploy 3 WAR files all with the same <Resource.../> tag in their META-INF/context.xml files, will Tomcat create 3 seperate database connection pools or will Tomcat somehow know the pools are the same and all three apps will share a single connection pool?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!