unable 2 create connection pool Oracle pool

Discussions

EJB programming & troubleshooting: unable 2 create connection pool Oracle pool

  1. unable 2 create connection pool Oracle pool (1 messages)

    I have provided the following information in the weblogic5.1
    properties file ,

    weblogic.jdbc.connectionPool.myPool=\
    url=jdbc:weblogic:oracle,\
    driver=weblogic.jdbc.oci.Driver,\
    loginDelaySecs=1,\
           initialCapacity=4,\
           maxCapacity=10,\
           capacityIncrement=2,\
           allowShrinking=true,\
           shrinkPeriodMins=15,\
           refreshMinutes=10,\
           testTable=dual,\
           props=user=SCOTT;password=tiger;server=DEMO

    IAM GETTING THE FOLLLOWING EXCEPTION

    Failed to create connection pool "myPool"
    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)


    INSPITE OF GIVING THE "WEBLOGICOCI36.DLL" IN THE CLASSPATH AND IN WEBLOGIC AND JDK1.2.2 LIBRARIES PATH,BUT STILL GETTING THE SAME PROBLEM.
    CAN ANYONE FIND OUT THE POSSIBLE SOLUTION.
    THANX IN ADVANCE
  2. If it is on windows, you have set PATH and on unix LD_LIBRARY_PATH.

    check out this link :

    http://www.weblogic.com/docs51/install/install_jdbc.html#1061410