File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes DB connection pool per webapp if defined in context.xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "DB connection pool per webapp if defined in context.xml?" Watch "DB connection pool per webapp if defined in context.xml?" New topic
Author

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

Michael Remijan
Author
Ranch Hand

Joined: May 29, 2002
Posts: 110

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?


Java EE Evangelist — Author, EJB 3 in Action 2nd Edition — Java Community Process Member
 
Consider Paul's rocket mass heater.
 
subject: DB connection pool per webapp if defined in context.xml?
 
Similar Threads
Related to context.xml
tomcat connection pooling
Tomcat application won't start with MySQL Connection Pooling
Unable to configure tomcat 6.0 datasource from within eclipse.
JAMon and DataSources