error when running weblogic server with weblogic oracle driver

Discussions

EJB programming & troubleshooting: error when running weblogic server with weblogic oracle driver

  1. hai freinds,

    i am getting error when running weblogic server with weblogic JDriver for oracle as follows -

    Wed Nov 29 14:07:04 GMT+11:00 2000:<E> <JDBC Pool> Failed to create connection pool "demoPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError
     with the message 'no weblogicoci36 in java.library.path'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at java.sql.DriverManager.getConnection(DriverManager.java:457)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)

    so , its not creating the demopool

    with regards
    k.ramakrishna
  2. Hello,

    the path of the weblogic's oci driver must be in the system path i.e. you must add 'c:\weblogic\bin\oci805_8' to the system path for Oracle 8 and 'c:\weblogic\bin\oci815_8' for Oracle 8i.

    Also you must install Oracle client utilities if the Oracle server is on another PC and include 'C:\Oracle\Ora81\bin' in the system path as well.