You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "autumind (via GitHub)" <gi...@apache.org> on 2023/10/07 08:08:48 UTC

Re: [PR] Abort underlying connection of old driver may cause AbstractMethodError. [commons-dbcp]

autumind commented on PR #309:
URL: https://github.com/apache/commons-dbcp/pull/309#issuecomment-1751645431

   > Needs a test or it will be a regression waiting to happen. Do you have a stack trave? Which driver? Which version? Which OS? Java version? There is only so much bending over backward we should do IMO. Can this be solved by updating the driver to a more recent version?
   
   The driver is 
   
   > Needs a test or it will be a regression waiting to happen. Do you have a stack trave? Which driver? Which version? Which OS? Java version? There is only so much bending over backward we should do IMO. Can this be solved by updating the driver to a more recent version?
   
   The driver is `com.springsource.oracle.jdbc.jar`
   MANIFEST.MF
   ```
   Manifest-Version: 1.0
   Ant-Version: Apache Ant 1.6.5
   Created-By: 1.5.0_51-b10 (Sun Microsystems Inc.)
   Implementation-Vendor: Oracle Corporation
   Implementation-Title: JDBC
   Implementation-Version: 11.2.0.4.0
   Repository-Id: JAVAVM_11.2.0.4.0_LINUX.X64_RELEASE
   Specification-Vendor: Sun Microsystems Inc.
   Specification-Title: JDBC
   Specification-Version: 4.0
   Main-Class: oracle.jdbc.OracleDriver
   sealed: true
   
   Name: oracle/sql/converter/
   Sealed: false
   
   Name: oracle/sql/
   Sealed: false
   
   Name: oracle/sql/converter_xcharset/
   Sealed: false
   
   Name: oracle/replay/driver/
   Sealed: false
   
   ```
   
   As you said, updating the driver can solve the issue. However, I've noticed `PoolableConnectionFactory.java` destroy  `ABANDONED PoolableConnection` with underlying connection, what's the purpose of this operation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org