I cannot create connection pool using Oracle driver on Weblogic.

Discussions

EJB programming & troubleshooting: I cannot create connection pool using Oracle driver on Weblogic.

  1. I want to create Tx connection pool on Weblogic server 6.1. I have installed oracle client on my machine.

    Then I use oracle.jdbc.xa.client.OracleXADataSource as DriverClassname.

    But when I configure new connection pool and choose myserver as target server, the exception has been thrown.

    ---------------------------------------------------------
    <JDBC> <Cannot startup connection pool "MyOracleConnPool" weblogic.common.ResourceException: java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:537)
        at java.sql.DriverManager.getConnection(DriverManager.java:177)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:111)
        ...
    ---------------------------------------------------------

    What wrong I do?
  2. Then I use oracle.jdbc.xa.client.OracleXADataSource as DriverClassname.
    ...
    What wrong I do?


    You are using DataSource class name where Driver class name is expected. They are not the same

    VS