tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Implementing Connection Pooling
Date Thu, 01 Jul 2010 22:06:24 GMT
> From: Andrew Laughlin [mailto:andrew.laughlin@gmail.com]
> Subject: Re: Implementing Connection Pooling
> 
> The credentials for a database connection are specified per 
> database. That is, user credentials are not used to get an 
> authenticated connection to the database.  Notice OrgID is
> the database name, username and password.

You're not going to be able to do this with a single <Resource> element, since one <Resource>
== one connection pool.  You'll either have to configure one <Resource> per OrgID (and
know them all up front), or use your own connection pooling with commons-dbcp (or equivalent).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

Mime
View raw message