tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: DBCP Pool not context-specific?
Date Wed, 01 Nov 2006 17:58:04 GMT
John,

John Gorkos wrote:
> I use per-context JNDI handles to 
> the same Postgres database for multiple apps running inside tomcat.  Each 
> context.xml sets up connection limits, max idle, etc, slightly differently.

You said "per-context JNDI handles", not per-context JNDI DataSources.
Where are you defining your datasource? In context.xml, or in server.xml
with additional, per-context configuration in context.xml?

Can you show us the configuration for your JNDI DataSource, including
the location in whatever file you use? For instance, if you use
server.xml, /where/ you do put the <Resource> element?

-chris


Mime
View raw message