Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-349

Insert clob or blob with oracle connection crashes software

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • 1.3
    • None
    • None
    • windows XP , JDK 1.6, oracle 10g, oracle driver 10.2.0.2

    Description

      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(CLOB.java:754)
      at oracle.sql.CLOB.createTemporary(CLOB.java:716)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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

      Attachments

        1. DBCP349.zip
          2.22 MB
          Arnaud Brunet

        Activity

          People

            Unassigned Unassigned
            alina alina joshi
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: