commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: DBCP - unclosed connections
Date Thu, 11 Nov 2010 21:08:04 GMT
On 11/11/2010 18:57, Tyson Lowery wrote:
> Thanks Mark for taking the time to reply.
> 
> I've upgraded Tomcat to 6.0.29.  Do I still need to explicitly set the
> factory to make sure I'm using DBCP 1.3?

Maybe. 6.0.29 ships with DBCP 1.3 and Pool 1.5.4. To get the benefits of
Pool 1.5.5 you'd need to follow the instructions below.

6.0.30 will include Pool 1.5.5

Mark

> 
> On 11/11/2010 12:37 AM, Mark Thomas wrote:
>> On 11/11/2010 05:11, Phil Steitz wrote:
>>> I will check or someone else can confirm DBCP and pool versions.
>> http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_26/build.properties.default?view=markup
>>
>>
>> DBCP 1.2.2
>> Pool 1.5.4
>>
>>>   If not the latest you can upgrade them independently of Tomcat and
>>> you should try that.  See the Tomcat datasource docs for instructions
>>> on how to do this.  Ask here or on tomcat-user if you need help.
>> 1. Add latest DBCP & Pool JARs to CATALINA_BASE/lib
>>
>> 2. Modify your Resource to include:
>> factory="org.apache.commons.dbcp.BasicDataSourceFactory"
>>
>> 3. Restart
>>
>> Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message