tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: tomcat and DB oracle problem - only in higher versions
Date Fri, 17 Aug 2012 11:44:18 GMT
2012/8/17 Busfy,Peter <>:
> Hi again,
> so I try ojdbc6.jar (version with tomcat 6.0.35 and the same problem.
> With version 6.0.26 is everything fine.

6.0.26 and 6.0.35 include different versions of Apache Commons DBCP
library (  You may look into the
changelog or into in the source distributive to see
the version number.

Later DBCP versions implement wrapping of the underlying JDBC
connection object differently.

On this mailing list such issue has been discussed at least 3 times
during the last 2 years.
(I do not remember what the exact recipe was. I think that you have to
do the following two operations:
1. set a property on the pool to allow unwrapping,
2. call a method to get the wrapped connection.
 See the archives and see the DBCP site).

>From that Spring message -- I guess you have to look for
"NativeJdbcExtractor" implementations and find one that works with

See OracleLobHandler.etNativeJdbcExtractor(..)

There exists "CommonsDbcpNativeJdbcExtractor" class. Maybe it will work for you.

If not, you may try debugging Tomcat (see "Developing" chapter in the
Tomcat FAQ for tips).

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message