[ https://issues.apache.org/jira/browse/DBCP-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675697#action_12675697 ]
Mark Thomas commented on DBCP-212: ---------------------------------- I can't see a good reason for the sync on makeObject() so I removed it. It does seem to do a little to alleviate the problem but the issue is still significant. > PoolingDataSource closes physical connections > --------------------------------------------- > > Key: DBCP-212 > URL: https://issues.apache.org/jira/browse/DBCP-212 > Project: Commons Dbcp > Issue Type: Bug > 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: DBCPtester.java, DBCPtester.java, 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.