3 Replies Latest reply on Apr 19, 2007 6:07 AM by Weston M. Price

    Jboss 4.0.1 does not work with oracle.jdbc.pool.OracleDataSo

    Venkanagouda Newbie

      Hi
      I am able to create database source with oracle driver class oracle.jdbc.driver.OracleDriver. But some how it does not work with driver class oracle.jdbc.pool.OracleDataSource. I get the following exception. Does any one knows how to make it work?


      org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: oracle.jdbc.pool.OracleDataSource; - nested throwable: (java.lang.ClassCastException: oracle.jdbc.pool.OracleDataSource)); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: oracle.jdbc.pool.OracleDataSource; - nested throwable: (java.lang.ClassCastException: oracle.jdbc.pool.OracleDataSource)))
      org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:106)