commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <>
Subject [jira] Resolved: (DBCP-212) PoolingDataSource closes physical connections
Date Sun, 21 Jun 2009 17:28:07 GMT


Mark Thomas resolved DBCP-212.

    Resolution: Fixed

The numerous sync changes made in POOL 1.5.x should eliminate the remaining issues reported
here. In particular:
- no factory method is called from within a sync block
- borrowObject() uses syncs only where necessary
- the implementation of fair queuing ensures that an object will be allocated to a waiting
thread when it is returned

DBCP 1.3 will include POOL 1.5.1. In the mean time, you should still see most of the benefit
by switching to POOL 1.5.1 or later

> PoolingDataSource closes physical connections
> ---------------------------------------------
>                 Key: DBCP-212
>                 URL:
>             Project: Commons Dbcp
>          Issue Type: Improvement
>    Affects Versions: 1.2.2
>         Environment: Windows XP, Java 1.5.0_06-b05, Sybase ASE 12.5.4, jConnect 6.0.5
EBF 13862, Commons Pool 1.3
>            Reporter: Marcos Sanz
>             Fix For: 1.3
>         Attachments:,, output.txt
> By executing the attached program and monitoring the process id of the physical connections
at the database server, it is possible to demonstrate that the connections are being actually
physically closed and reopened by the application at a very high rate.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message