i am using weblogic7 installed at d:/bea and oracle 9i at
d:/ora91.operating system is windows2000 professional
I get an UnsatisfiedLinkError when I try to use the
weblogic jdriver to connect with oracle
Here is the stock trace:
java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError with the message "no weblogicoci38 in shared library path."
at java.sql.DriverManager.getConnection(Compiled Code)
also if i use java utils.dbping to test the connection
this error comes noclassdeffounderror:utils.dbping
suggest ways to use the jdriver to connect to oracle9i
also suggest how to use java utils.dbping to test whether
the connection is successful.
HI It seems you are using native driver of oracle it needs the dll to be kept in weblogic bin.
Try to use type 4driver you will never get this message
thanks for sending in the reply,but i need some more details
i am using the weblogic jdriver that comes with weblogic7,and not the native oracle driver.the problem is
that i have to make the path settings right.do you have
any idea as to how these settings should be done.
there is this dll file weblogicoci38.dll in the directory
how to get this dll in the path name is the question.
i have installed jdk1.3 also at d:\jdk1.3 and oracle9i at
also i would like to know how to use the java uils.dbping
facility provided by weblogic to test whether the connection
to the oracle database is successful or not.
What is the driver you are using in the DataSource.
oracle.jdbc.driver.OracleDriver never looks for a dll.
Weblogic ships the native driver of Oracle too.
Make sure you are using oracle.jdbc.driver.OracleDriver driver or its equivalent XA driver for XAPool
LoginDelaySeconds="1" MaxCapacity="10" Name="oraclePool"
TestConnectionsOnReserve="false" TestTableName="dual" URL="jdbc:oracle:thin:@server:port:sid"/>