commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alina joshi (JIRA)" <>
Subject [jira] Created: (DBCP-349) Insert clob or blob with oracle connection crashes software
Date Fri, 03 Dec 2010 15:43:11 GMT
Insert clob or blob with oracle connection crashes software 

                 Key: DBCP-349
             Project: Commons Dbcp
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: windows XP , JDK 1.6, oracle 10g, oracle driver
            Reporter: alina joshi
            Priority: Critical

 1> tomcat 6.0.26 has tomcat-dbcp.jar that works completely fine. 

 2> tomcat 6.0.28, tomcat 6.0.29, tomcat 5.0.30, tomcat 5.0.31 has tomcat-dbcp.jar file
that doesn't work and throws following error :

java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolableConnection cannot be cast
to oracle.jdbc.OracleConnection
        at oracle.sql.CLOB.createTemporary(
        at oracle.sql.CLOB.createTemporary(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(

Would like to know if there was any changes to the commons dbcp package for tomcat version

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

View raw message