Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Michael Remijan
Ranch Hand
Posts: 130
  • 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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic