Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-12130

ClassCastException when using Bamboo and JNDI Datasource with Oracle DB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.3
    • 4.2.1
    • Database (Oracle)
    • None
    • Oracle Linux 5.8
      jdk1.7.0_05
      tomcat 6.0.35

    Description

      I was evaluating bamboo 4.2.1 and during the setup process I get a ClassCastException. In researching the problem it seems very similar to JIRA issue CONF-20793. The workaround is the same, downgrade tomcat to 6.0.26.

      Java Exception:
      org.springframework.dao.InvalidDataAccessApiUsageException: OracleLobCreator needs to work on [oracle.jdbc.OracleConnection], not on [org.apache.tomcat.dbcp.dbcp.PoolableConnection]: specify a corresponding NativeJdbcExtractor; nested exception is java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolableConnection cannot be cast to oracle.jdbc.OracleConnection
      Caused by: java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolableConnection cannot be cast to oracle.jdbc.OracleConnection

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              e1e39351052a David F. Newman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: