Hi,
To use Oracle’s JDBC drivers in Weblogic, I usually modify the “startWebLogic.cmd” file to include the “classes12.zip” and “nls_charset12.zip’
e.g.
CLASSPATH=D:\oracle\ora81\jdbc\lib\classes12.zip;D:\oracle\ora81\jdbc\lib\nls_charset12.zip;%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH%
To start Weblogic from within MyEclipse I tried to include the zip files in the path settings (Windows->Preference->MyEclipse->App Servers -> Weblogic8.1->Paths). However this does not work and I get an exception
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
whenever I load the driver.
Can anyone help? Thanks!
Jimmy