Hi Savant,

The UnsatisfiedLinkError is thrown when the wrong OCI8 JDBC driver is used
with the wrong Oracle client or when the Oracle client is not found at all.

Make sure your %ORACLE_HOME%\bin is in your path (C:\Oracle\Ora81\bin on NT
by default).  If you're on Unix, you'll also need to set your LIBRARY_PATH
or LD_LIBRARY_PATH (I don't remember which one... :-() properly.  I don't
know what value to use for the LIBRARY_PATH/LD_LIBRARY_PATH though:  check
the docs, you'll find the info there.  If you can't find it, let me know and
I'll check it out for you...

Also, make sure you use the JDBC drivers that come with your Oracle client
(%ORACLE_HOME%\jdbc\lib\classes111.zip if you use the JDK 1.1 or
%ORACLE_HOME%\jdbc\lib\classes12.zip if you use the JDK 1.2 +).

HTH

  _____

Ghislain Gadbois
Analyst-Programmer

COGNICASE - SISCA

2144, King West,�suite 240
Sherbrooke (Qu�bec) J1J 2E8
Tel. : (819) 564-1199,�ext 2225
Fax : (819) 569-8597
E-Mail�: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>




-----Message d'origine-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Date: 7 f�vrier, 2001 02:48
�: JRun-Talk
Objet: DataSource Error While Using Oracle OCI8 Driver




Hi All,

I am getting the following error while trying to connecting to Oracle using
OCI8 JDBC driver.
The same with thin driver is ok.
I have installed Oracle 8i1.6 client on my machine and configured sql net
properly.

Could anyone help me???

Thanks & Regards
Savant

Error Message

500 Internal Server Error
/jvm/jdbcTest.jsp:

javax.servlet.ServletException: Exception thrown processing JSP page.
java.lang.UnsatisfiedLinkError: do_open
     at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
     at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
     at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:249)
     at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
     at java.sql.DriverManager.getConnection(DriverManager.java:517)
     at java.sql.DriverManager.getConnection(DriverManager.java:177)
     at
allaire.jrun.sql.NonPooledDataSource.getConnection(NonPooledDataSource.java:
100)
     at
jrun__jvm__jdbcTest2ejsp11._jspService(jrun__jvm__jdbcTest2ejsp11.java:295)
     at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
     at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
     at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
     at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34
)
     at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:174)
     at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
     at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
     at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)

     at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
     at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
     at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
     at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
     at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to