Uploaded image for project: 'FUSE ESB'
  1. FUSE ESB
  2. ESB-1517

commons-dbcp component doesn't allow dynamic imports, resulting in problem loading oracle jdbc driver

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.4.0-fuse-00-27
    • Fix Version/s: 4.4.0-fuse-xx-00
    • Component/s: None
    • Labels:
      None

      Description

      Hi,

      I'm not sure if something changed since ESB-840, however, I'm having a problem loading the oracle JDBC driver:

      org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
      at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1142)
      at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:881)

      Same stack traces as in the other jira. Essentially, I had to allow dynamic imports on commons-dbcp:

       
      karaf@root> dev:dynamic-import 210
      Enabling dynamic imports on bundle org.apache.servicemix.bundles.commons-dbcp [210]

      If I understood the transcription ESB-840, I shouldn't have had to do this.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ffang Freeman(Yue) Fang
                Reporter:
                sjavurek Susan Javurek
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: