You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas WERMESTER (JIRA)" <ji...@apache.org> on 2012/06/29 18:06:43 UTC

[jira] [Commented] (DBCP-349) Insert clob or blob with oracle connection crashes software

    [ https://issues.apache.org/jira/browse/DBCP-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403990#comment-13403990 ] 

Thomas WERMESTER commented on DBCP-349:
---------------------------------------

Hi, same problem appear on new release tomcat 6 => version 6.0.35
                
> Insert clob or blob with oracle connection crashes software 
> ------------------------------------------------------------
>
>                 Key: DBCP-349
>                 URL: https://issues.apache.org/jira/browse/DBCP-349
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: windows XP , JDK 1.6, oracle 10g, oracle driver 10.2.0.2
>            Reporter: alina joshi
>            Priority: Critical
>             Fix For: 1.3.1, 1.4.1
>
>
>  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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira