-
ocijdbc8 error
Error: [19/Sep/2000:10:45:26] failure ( 82): Internal error: exception thrown
from the servlet service function (uri=/servlet/po_sun20): java.lang.UnsatisfiedLinkError:
no ocijdbc8 in java.library.path
I am using iPlanet 4.0 web server and Sun's jdk 1.2.2 on NT 4.0
I have successfully created servelts which display properly in a browser.
I am now attempting to connect to an oracle database. I have installed the
Oracle (8i release 1) client software on the host machine.
My CLASSPATH is more than I need with:
CLASSPATH=.;D:\jdk1.2.2\lib\dt.jar;D:\jdk1.2.2\lib\tools.jar;D:\jdk1.2.2\jre\lib\rt.jar;D: \jdk1.2.2\bin\servlets\jsdk2.1\servlet.jar;%ORACLE_HOME%\jdbc\Lib\classes12.zip;%ORACLE_HO ME%\lib\nls_charset11.zip;%ORACLE_HOME%\jlib;D:\Oracle\Ora81\jdbc\lib\oracle
\jdbc\oci8;
PATH=%SystemRoot%\system32;%SystemRoot%;D:\jdk1.2.2\jre\bin;D:\jdk1.2.2\jre\lib;D:\jdk1.2. 2\jre\bin;;D:\jdk1.2.2\bin;%ORACLE_HOME%\jdbc\Lib;D:\Oracle\Ora81\jdbc\lib\oracle\sql;D:\N etscape\Server4\bin\https\jre\bin\classic;D:\Netscape\Server4\bin\https\jar
The full error is:
failure ( 82): Internal error: exception thrown from the servlet service
function (uri=/servlet/po_sun20): java.lang.UnsatisfiedLinkError: no ocijdbc8
in java.library.path, Stack: java.lang.UnsatisfiedLinkError: no ocijdbc8
in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1249)
at java.lang.Runtime.loadLibrary0(Runtime.java:470)
at java.lang.System.loadLibrary(System.java:778)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:209)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at po_sun20.service(po_sun20.java:84)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:502)
Any help would be greatly appreciated. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks