Ocijdbc8

I get the 'no ocijdbc8 in java.library.path' error, when starting my webapp in Tomcat. Did anyone experienced the problem with this. Thank you for any help.
The complete message follows:
2003-02-07 16:17:26 StandardContext[]: Starting
2003-02-07 16:17:26 StandardContext[]: Processing start(), current available=false
2003-02-07 16:17:26 StandardContext[]: Configuring default Resources
2003-02-07 16:17:26 StandardContext[]: Configuring non-privileged default Loader
2003-02-07 16:17:26 StandardContext[]: Configuring default Manager
2003-02-07 16:17:26 StandardContext[]: Processing standard container startup
2003-02-07 16:17:26 WebappLoader[]: Deploying class repositories to work directory /export/home/tomcat-4.0.2/work/localhost/_
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/US_export_policy.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/US_export_policy.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/activation.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/activation.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/commons-cactus.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/commons-cactus.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/i18n.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/i18n.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/jaas.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/jaas.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/jakarta-oro-2.0.4.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/jakarta-oro-2.0.4.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/jaxp.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/jaxp.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/jce.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/jce.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/jndi.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/jndi.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/local_policy.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/local_policy.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/log4j.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/log4j.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/mail.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/mail.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/saxon.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/saxon.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/servlet.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/servlet.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/sunjce_provider.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/sunjce_provider.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/xalan.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/xalan.jar
2003-02-07 16:17:26 WebappLoader[]: Deploy JAR /WEB-INF/lib/xerces.jar to /export/home/ccm-core-cms-5.0.3/dist/WEB-INF/lib/xerces.jar
2003-02-07 16:17:26 WebappLoader[]: Reloading checks are enabled for this Context
2003-02-07 16:17:26 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2003-02-07 16:17:26 StandardManager[]: Seeding of random number generator has been completed
2003-02-07 16:17:26 ContextConfig[]: ContextConfig: Processing START
2003-02-07 16:17:26 StandardContext[]: Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
2003-02-07 16:17:27 StandardContext[]: Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN'
2003-02-07 16:17:27 ContextConfig[]: Scanning web.xml tag libraries
2003-02-07 16:17:27 ContextConfig[]: Scanning library JAR files
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/US_export_policy.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/activation.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/commons-cactus.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/i18n.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/jaas.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/jakarta-oro-2.0.4.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/jaxp.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/jce.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/jndi.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/local_policy.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/log4j.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/mail.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/saxon.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/servlet.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/sunjce_provider.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/xalan.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: tldConfigJar(/WEB-INF/lib/xerces.jar): java.io.IOException: No such file or directory
2003-02-07 16:17:27 ContextConfig[]: Added certificates -> request attribute Valve
2003-02-07 16:17:27 ContextConfig[]: Pipline Configuration:
2003-02-07 16:17:27 ContextConfig[]: org.apache.catalina.valves.CertificatesValve/1.0
2003-02-07 16:17:27 ContextConfig[]: org.apache.catalina.core.StandardContextValve/1.0
2003-02-07 16:17:27 ContextConfig[]: ======================
2003-02-07 16:17:27 StandardContext[]: Configuring application event listeners
2003-02-07 16:17:27 StandardContext[]: Sending application start events
2003-02-07 16:17:27 StandardContext[]: Starting filters
2003-02-07 16:17:27 StandardContext[]: Posting standard context attributes
2003-02-07 16:17:27 StandardWrapper[:default]: Loading container servlet default
2003-02-07 16:17:27 default: init
2003-02-07 16:17:27 init: init
2003-02-07 16:17:29 StandardContext[]: Servlet threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet init threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:209)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:200)
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:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:102)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:85)
at com.arsdigita.db.oracle.OracleConnectionPoolImpl.getNewConnection(OracleConnectionPoolImpl.java:63)
at com.arsdigita.db.BaseConnectionPool.getConnection(BaseConnectionPool.java:94)
at com.arsdigita.db.ConnectionManager.getConnection(ConnectionManager.java:194)
at com.arsdigita.db.Initializer.startup(Initializer.java:141)
at com.arsdigita.initializer.Script.startup(Script.java:178)
at com.arsdigita.initializer.Script.startup(Script.java:148)
at com.arsdigita.dispatcher.InitializerServlet.init(InitializerServlet.java:71)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
2003-02-07 16:17:29 main-dispatcher: init
2003-02-07 16:17:29 StandardWrapper[:main-dispatcher]: Marking servlet main-dispatcher as unavailable
2003-02-07 16:17:29 StandardContext[]: Servlet threw load() exception
javax.servlet.UnavailableException: SiteNodeDispatcher Initialization Failure
The most likely cause is that the initialization sequence did not
complete successfully. Check the error logs for other error messages
and make sure you have a valid enterprise.init
SessionManager has not been initialized:
url is null
username is null
password is null
at com.arsdigita.sitenode.SiteNodeDispatcher.init(SiteNodeDispatcher.java:113)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
2003-02-07 16:17:29 StandardWrapper[:invoker]: Loading container servlet invoker
2003-02-07 16:17:29 invoker: init
2003-02-07 16:17:29 jsp: init
2003-02-07 16:17:32 StandardContext[]: Starting completed

which path do you mean CLASSPATH or LD_LIBRARY_PATH ?

Similar Messages

  • Java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path

    hi,
    i am trying to connect to an oracle 8.1.7 database from my application running on tomcat 4.0.3 / jdk1.4 /windows nt.
    using the thin jdbc-driver (classes12.zip) everything works fine.
    when i try using the oci8-driver, i get an error-message saying:
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    i have the oracle-client installed on my machine.
    the ocijdbc8.dll can be found in D:\server\oracla81\bin
    the environment-variables PATH, CLASSPATH, LD_LIBRARY_PATH (i'm not sure if this has any meaning on nt) all point to this directory.
    i start tomcat using the following option: -Djava.library.path="D:\server\oracla81\bin"
    my application can see this variable:
    System.out.println("java.library.path: "+System.getProperty("java.library.path"));
    prints out the correct value.
    then i try to load the library by myself:
    try {
    System.loadLibrary("ocijdbc8");
    System.out.println("Successfully Loaded");
    } catch(Exception e) {
    System.out.println("LD_LIBRARY_PATH is not properly set");
    e.printStackTrace();
    everything works fine! the library is loaded!
    finally i try to connect to the database and the application throws the mentioned exception:
    lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
         at java.lang.Runtime.loadLibrary0(Runtime.java:772)
         at java.lang.System.loadLibrary(System.java:832)
         at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
         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)
    any help would be appreciated.
    thanx in advance,
    frank.
    [email protected]

    It is probably JDK 1.4 that causes the problem. I was able to get strange errors with that version of the JDK with code that worked fine using 1.31.

  • Solution of "no ocijdbc8 in shared library path" Windows95 Jdeveloper 3.0

    I installed Jdeveloper 3.0 and got the message "no ocijdbc8 in shared library path".
    We are using Oracle 8.0.5 so I had Oracle 8.0.5 client in my PC.
    1. I down loaded oci805jdbc.dll, oci805jdbc_g.dll and put my c:\orawin95\bin directory. The PATH contains the directory.
    2. Then I tested the dll with the following program: (provided with sombody else in this discussion forum.)
    public class Test4 {
    public static void main (String [] args)
    try
    System.loadLibrary("oci805jdbc");
    System.out.println("Successfully Loaded");
    } catch(Exception e)
    System.out.println("LD_LIBRARY_PATH is not properly set");
    e.printStackTrace();
    The output:
    Successfully Loaded
    I tried the following too (ocijdbc8.dll exists in c:\orawin95\bin directory):
    public class Test {
    public static void main (String [] args)
    try
    System.loadLibrary("ocijdbc8");
    System.out.println("Successfully Loaded");
    } catch(Exception e)
    System.out.println("LD_LIBRARY_PATH is not properly set");
    e.printStackTrace();
    The output:
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path
    May be I need Oracle 8.1.5 client or the dll is corrupted?
    3. I modified my Jdeveloper.ini file (changed jdbc lib: 8.1.5 to 8.0.5:
    Original row:
    [Java_Global]
    IDEClassPath=..\lib\jdeveloper.zip;..\lib\jdev-rt.zip;..\lib\jbcl2.0.zip;..\lib\jgl3.1.0.jar;..\sqlj\lib\translator.zip;..\aurora\lib\aurora_client.jar;..\aurora\lib\jasper.zip;..\ aurora\lib\vbjtools.jar;..\aurora\lib\vbjorb.jar;..\aurora\lib\vbjapp.jar;..\aurora\lib\vbj30ssl.jar;..\aurora\lib\aurora.zip;..\jdbc\lib\oracle8.1.5\classes111.zip;..\lib\javax_ej b.zip;..\lib\jndi.jar;..\lib\netasst.jar;..\lib\jsp2java.jar;..\lib\jsdk.jar;..\lib\oasdeploy.jar;..\lib\f60all.jar;..\lib\jbodatum.zip;..\lib\jbomt.zip;..\lib\jbovb.zip;..\lib\jbo o8i.zip;..\lib\jboejb.jar;..\lib\jbodt.zip;..\lib\jbotester.zip;..\lib\xmlparserv2.jar;..\lib\dacf.zip;..\lib\dacfdt.zip;..\infobus\lib\infobus.jar;..\lib\LW_pfjbean.jar
    Modified row:
    [Java_Global]
    IDEClassPath=..\lib\jdeveloper.zip;..\lib\jdev-rt.zip;..\lib\jbcl2.0.zip;..\lib\jgl3.1.0.jar;..\sqlj\lib\translator.zip;..\aurora\lib\aurora_client.jar;..\aurora\lib\jasper.zip;..\ aurora\lib\vbjtools.jar;..\aurora\lib\vbjorb.jar;..\aurora\lib\vbjapp.jar;..\aurora\lib\vbj30ssl.jar;..\aurora\lib\aurora.zip;..\jdbc\lib\oracle8.0.5\classes111.zip;..\lib\javax_ej b.zip;..\lib\jndi.jar;..\lib\netasst.jar;..\lib\jsp2java.jar;..\lib\jsdk.jar;..\lib\oasdeploy.jar;..\lib\f60all.jar;..\lib\jbodatum.zip;..\lib\jbomt.zip;..\lib\jbovb.zip;..\lib\jbo o8i.zip;..\lib\jboejb.jar;..\lib\jbodt.zip;..\lib\jbotester.zip;..\lib\xmlparserv2.jar;..\lib\dacf.zip;..\lib\dacfdt.zip;..\infobus\lib\infobus.jar;..\lib\LW_pfjbean.jar
    I am sure that the actual ..\jdbc\.. \lib\classes111.zip (or classes12 in java2) responsible for the ocijdbc8/oci805jdbc etc calling.
    The OracleDriver.class contains the name of the dll without the .dll extension.
    With this parameter is called the system.loadLibrary method!
    Importent:
    USE THE APPROPIATE ORACLE CLIENT (appropiate ocijdbc.dll)!
    USE THE APPROPIATE classes111.zip,
    (classes12.zip)!
    Manual setup using sqlj from DOS promt:
    set CLASSPATH=.;c:\orawin95\LITE\CLASSES\OLJDK11.JAR;c:\orawin95\LITE\CLASSES\OLITE40.JAR;d:\jdev\sqlj\lib\runtime.zip;d:\jdev\sqlj\lib\translator.zip;d:\jdev\jdbc\lib\oracle8.0.5\clas ses111.zip;d:\jdev\sqlj\lib\translator.zip;d:\jdev\java\lib\classes.zip;d:\jdev\jdbc\lib\oracle8.1.5\nls_charset11.zip;c:\orawin95\bin
    PATH C:\ORAWIN95\bin;d:\mgwin\bin;d:\bcc55;d:\bcc55\bin;d:\TC;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WNETFIN;C:\PROGRA~1\PERSON~1;C:\PSM;C:\WINDOWS\UTILS;d:\jdev\java\bin;d:\jdev\bin;d:\jdev\ jdbc\lib
    Good Luck!
    Otto
    [email protected]
    [email protected]
    null

    nstall the Oracle8i client on your machine, and make sure that
    <ORACLE_HOME> is set correctly. (From The Tools->IDE Options and click on the
    environment TAB ) and select an ORACLE_HOME from the List Box)
    or
    Exit from JDeveloper and edit the jdeveloper.ini file which is located in
    <J Developer Home>\bin.
    Modify the entries:
    JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin
    SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin
    to include the Oracle Bin directory. For example:
    JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;D:\ORA8i\BIN
    SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;D:\ORA8i\BIN

  • Ocijdbc8 not in shared library path for httpd

    I get the following error when running jdbc OCI drivers against
    oracle 8.1.5 on RH linux. LD_LIBRARY_PATH is set properly and
    works as user oracle However,the jdbc is running in a web
    application server (IBM Websphere) as user "nobody". Any ideas
    how shared path is set in this case?
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library
    path at java.lang.Runtime.loadLibrary(Compiled Code) at
    java.lang.System.loadLibrary(Compiled Code) at
    oracle.jdbc.oci8.OCIDBAccess.logon(Compiled Code) at
    oracle.jdbc.driver.OracleConnection.(Compiled Code) at
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled
    Code) at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
    at java.sql.DriverManager.getConnection(Compiled Code) at
    java.sql.DriverManager.getConnection(Compiled Code) at
    Register.insertUser(Compiled Code) at Register.service(Compiled
    Code) at javax.servlet.http.HttpServlet.service(Compiled Code)
    at com.sun.server.ServletState.callService(Compiled Code) at
    com.sun.server.ServletManager.callServletService(Compiled Code)
    at com.ibm.servlet.engine.SEServletManager.callServletService
    (Compiled Code) at com.sun.server.http.InvokerServlet.service
    (Compiled Code) at javax.servlet.http.HttpServlet.service
    (Compiled Code) at com.sun.server.ServletState.callService
    (Compiled Code) at
    com.sun.server.ServletManager.callServletService(Compiled Code)
    at com.ibm.servlet.engine.SEServletManager.callServletService
    (Compiled Code) at
    com.sun.server.ProcessingState.invokeTargetServlet(Compiled
    Code) at com.sun.server.http.HttpProcessingState.execute
    (Compiled Code) at com.sun.server.http.stages.Runner.process
    (Compiled Code) at com.sun.server.ProcessingSupport.process
    (Compiled Code) at com.sun.server.Service.process(Compiled Code)
    at com.ibm.servlet.engine.SELauncher.processMultiThreaded
    (Compiled Code) at com.ibm.servlet.engine.SEEngine.service
    (Compiled Code) at com.ibm.servlet.engine.api.ServerEntry.service
    (Compiled Code) at
    com.ibm.servlet.engine.nativeEntry.NativeServerEntry.service
    (Compiled Code) at
    com.ibm.servlet.engine.outofproc.OutOfProcThread.run(Compiled
    Code)
    null

    Hi,
    I had the same problem and found ocijdbc8 from your messages.
    Now it is complaining about not finding oracore8.dll
    I am totally new to this JDBC world and I am really confused.
    Anyone knows where to find this file?
    Thanks!
    -- lam
    OliverD (guest) wrote:
    : Michael A. (guest) wrote:
    : : I get the following error when running jdbc OCI drivers
    : against
    : : oracle 8.1.5 on RH linux. LD_LIBRARY_PATH is set properly and
    : : works as user oracle However,the jdbc is running in a web
    : : application server (IBM Websphere) as user "nobody". Any
    : ideas
    : : how shared path is set in this case?
    : : java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library
    : : path at java.lang.Runtime.loadLibrary(Compiled Code) at
    : : java.lang.System.loadLibrary(Compiled Code) at
    : : oracle.jdbc.oci8.OCIDBAccess.logon(Compiled Code) at
    : : oracle.jdbc.driver.OracleConnection.(Compiled Code) at
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled
    : : Code) at oracle.jdbc.driver.OracleDriver.connect(Compiled
    : Code)
    : : at java.sql.DriverManager.getConnection(Compiled Code) at
    : : java.sql.DriverManager.getConnection(Compiled Code) at
    : : Register.insertUser(Compiled Code) at Register.service
    : (Compiled
    : : Code) at javax.servlet.http.HttpServlet.service(Compiled
    Code)
    : : at com.sun.server.ServletState.callService(Compiled Code) at
    : : com.sun.server.ServletManager.callServletService(Compiled
    : Code)
    : : at com.ibm.servlet.engine.SEServletManager.callServletService
    : : (Compiled Code) at com.sun.server.http.InvokerServlet.service
    : : (Compiled Code) at javax.servlet.http.HttpServlet.service
    : : (Compiled Code) at com.sun.server.ServletState.callService
    : : (Compiled Code) at
    : : com.sun.server.ServletManager.callServletService(Compiled
    : Code)
    : : at com.ibm.servlet.engine.SEServletManager.callServletService
    : : (Compiled Code) at
    : : com.sun.server.ProcessingState.invokeTargetServlet(Compiled
    : : Code) at com.sun.server.http.HttpProcessingState.execute
    : : (Compiled Code) at com.sun.server.http.stages.Runner.process
    : : (Compiled Code) at com.sun.server.ProcessingSupport.process
    : : (Compiled Code) at com.sun.server.Service.process(Compiled
    : Code)
    : : at com.ibm.servlet.engine.SELauncher.processMultiThreaded
    : : (Compiled Code) at com.ibm.servlet.engine.SEEngine.service
    : : (Compiled Code) at
    : com.ibm.servlet.engine.api.ServerEntry.service
    : : (Compiled Code) at
    : : com.ibm.servlet.engine.nativeEntry.NativeServerEntry.service
    : : (Compiled Code) at
    : : com.ibm.servlet.engine.outofproc.OutOfProcThread.run(Compiled
    : : Code)
    : Hi Michael,
    : I had the same problems while I'm developing with SUN JDK1.3
    and
    : OCI8.
    : You can download the missing DLL 'ocijdbc8.dll' (packed in the
    : archive 'jdbc815jdk11x-nt.zip') from
    'http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_
    : index.htm' with the link 'JDBC-OCI / NT for JDK 1.1.x'. Don't
    : worry about the header.
    : But now I have another problem:
    : Now java.exe misses another DLL: 'oracore.dll'. Do you have any
    : idea where I can find this one?
    : Best regards
    : Oliver
    null

  • No ocijdbc8 in java.library.path (with Netscape under Tomcat)

    Hello,
    my problem is the following: I must use the OCI-Driver of the Oracle-Client 8.1.7 because I use special PL/SQL-functions.
    I get the error message:
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    when I try to start my servlet within netscape. Before this I'm starting the tomcat servlet engine and make the following path known to tomcat:
    java.library.path=/usr/lib:/lib:/share/ams/oracle/ora817-SunOS-5.7/lib:/share/ams/oracle/ora817-SunOS-5.7/jdbc/lib:/share/ams/oracle/ora817-SunOS-5.7/lib64
    In this line are the necessary paths to find the libocijdbc8.so library.
    Why does the servlet still have problems to find the driver? In addition, I set my java.library.path within the servlet itself.
    Do you know where is the crux of the matter?
    Thank you,
    Christian Schmidbauer

    Hello:
    libocijdbc9.so exists in the LD_LIBRARY_PATH. Tried
    linking/copying classes12.zip from $TOMCAT_HOME/common/lib to $TOMCAT_HOME/webapps/APP_NAME/WEB-INF/lib causes the error:
    java.lang.UnsatisfiedLinkError: /usr/apps/oracle/product/9.2.0/lib/libocijdbc9.so: ld.so.1: /usr/j2se/bin/java: fatal: /usr/apps/oracle/product/9.2.0/lib/libocijdbc9.so: wrong ELF class: ELFCLASS64
    when the CATALINA_OPTS has -d32 and
    -Djava.library.path=$ORACLE_HOME/lib(tried giving them as JAVA_OPTS in catalina.sh as well)
    Thanks!

  • No ocijdbc8 in java.library.path (with Servlet under Tomcat)

    Hello,
    my problem is the following: I must use the OCI-Driver of the
    Oracle-Client 8.1.7 because I use special PL/SQL-functions.
    I get the error message:
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    when I try to start my servlet within netscape. Before this I'm
    starting the tomcat servlet engine and make the following
    path known to tomcat:
    java.library.path=/usr/lib:/lib:/share/ams/oracle/ora817-SunOS-5.7/lib:/share/ams/oracle/ora817-SunOS-5.7/jdbc/lib:/share/ams/oracle/ora817-SunOS-5.7/lib64
    In this line are the necessary paths to find the libocijdbc8.so
    library.
    Why does the servlet still have problems to find the driver?
    In addition, I set my java.library.path within the servlet itself.
    Do you know where is the crux of the matter?
    Thank you,
    Christian Schmidbauer

    I'm not sure if this will help, but check to make sure your LD_LIBRARY_PATH environment variable is set (before starting Tomcat). I think this tells the Oracle classes where to find the .so files.

  • NO OCIJDBC8 in java.library.path (JDEV3.0)

    HI,
    I am using Jdev3.0.
    I am trying to use the OCI-8 in the Connection Manager. In the manager, I selected Oracle JDBC OCI-8 from the Driver dropping the box. When I clicked the Test Button, I got the "no ocijdbc8 in java.library.path" message. Where should I do next? Help Please.
    (I have set up the Classpath=c:\ora815\jdbc\lib\classes11.zip... in the NT4.0)
    Many Thanks.
    Alan
    null

    JDBC OCI drivers require the following to work properly in JDEV :
    1) A matching Oracle client install
    By this i mean, using jdbc 817 drivers with an rdbms 817 client install for that o/s platform(currently JDEV runs on and is supported on win nt 4 sp 6a and win 2000)
    2) A compatible JDK Version
    a) JDK 1.2.x is recommended and supported
    b) JDK 1.3.x can be used but is not officially certified or supported.
    Note on JDK 1.3.x usage :
    b.1) Don't deploy ANY jdk 1.3 based code to the Oracle jvm found in IAS 8i or 9i or RDBMS 8.1.5, 8.1.6, or 8.1.7.
    Also the status for the new IAS 1022 "OC4J" component is to be determined -- you need to review the IAS 9i 1022 product doc for this issue.
    b.2) Any "issues" using jdk 1.3 must be reproduced by the customer in jdk 1.2 before a bug can be filed.
    3) Jdeveloper must be setup properly per the instructions in the online help within Jdeveloper.
    In Jdev 3.2.3 the topic is called
    "Connection Requirements for OCI and Type 2 JDBC Drivers"
    You can find this topic(or a similar topic) in your Jdev version by entering the JDEV "on line help" documentation via HELP--> HELP TOPICS --> "SEARCH" Tab and use "jdbc oci" (no quote marks) as the search argument.
    I hope this helps ...
    don

  • Java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path

    Hello
    i am getting this unsatisfied error whenever i use servlet & in my servlet i am using JDBC for connecting to Oracle.
    i need to know the solution for this please do let me know . Also do i need to know the JDBC re-alm set-up in Tomcat server.
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path
    at java.lang.Runtime.loadLibrary(Runtime.java)
    at java.lang.System.loadLibrary(System.java)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(DriverManager.java:83)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at sdsi.sdsi.doGet(sdsi.java:29)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java)

    Make sure the oracle library ($ORACLE_HOME/lib) is included in the LD_LIBRARY_PATH.
    Or, you can use JDBC thin driver instead of OCI driver.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.l

    I always get the same error when I try to use the Oracle JDBC drivers for connection to my Oracle database. I am new to the Java Programming arena so I feel that this may be an installation problem. Some very good questions for anyone reading this would be:
    1. How do I set the java.library.path
    2. what exactly is the ocijdbc8, I am guessing this is the oci8 folder downloaded with the Oracle Drivers.
    I need help configuring.
    null

    To help answer your question, I would need to know what if you are using NT, Linux, etc.. There are installation instructions for Java at http://java.sun.com/j2se/. For the Oracle JDBC drivers, generally you add the location of where you have stored the classes111.zip or classes12.zip to your classpath. That is all you need if you use the thin driver. If you use the ICO driver, you will also need to install the Oracle client from your Oracle distribution CD.

  • Oracle 9 classes12.jar looking for ocijdbc8.dll instead of ocijdbc9.dll?

    Hi,
    I have installed the client portion of Oracle 9 release 2 and written an EJB running in weblogic server 7.0, that uses the oracle oci JDBC driver. I have no other oracle installation on my machine, so I only have the ocijdbc9.dll in my %ORACLE_HOME%\bin directory, not the ocijdbc8.dll.
    The classes12.jar file (installed by the same installation mentioned above) is in my classpath.
    The code throws an "UnsatisfiedLinkError: no ocijdbc8 in java.library.path". This does not make sense to me because it should be trying to load ocijdbc9.dll.
    Does anybody know the solution to this problem??? I have opened the question on Oracle Technology Network with no luck.
    Andreas

    Hi,
    I have found the problem... Even if I put the %ORACLE_HOME%\jdbc\lib\classes12.jar in front of my classpath it did not work... There was no classes12.zip in my classpath, however there was a classes12.zip in the weblogic700\server\lib directory which I renamed. Then it worked.
    Regards,
    Andreas

  • I got this message "no ocijdbc8 in java.library.path", what should i do???

    i use personal oracle 8.0.5, jdeveloper 3, win98. When i make connection with JDBC Driver (Oracle JDBC OCI-8), local DB with network Protocol (BEQ), when i click Test Connection button i got this message "no ocijdbc8 in java.library.path", what should i do with this ???
    please tell me because i'm new with this.
    thank's

    In jdbc library, you have this file. Try to put it in JDeveloper bin folder, or in system\bin folder.

  • Unable to start IFS Servermanager (ocijdbc8)

    Can anyone help with this?
    I'm trying to get IFS 1.0 up and running on Oracle Enterprise Edition 8.1.6 on Windows 2000 server. The oracle database is pretty much a clean install and was installed using the 'typical' option.
    IFS installs ok, creates the tables and so on (although it doesn't seem to detect that Intermedia was installed), and configures ok, but when I use IFSSTART.BAT, I get two error messages :-
    "The procedure entry point slzsetevar could not be found in the dynamic link library oracore8.dll" (this is a windows message from the dos prompt), and
    "Unable to start IFSservermanager no ocijdbc8 in shared library path"
    As I said, both Oracle 8i and IFS are clean installs, hardly been used, no tinkering. Any thoughts?
    Paul

    Windows 2000 is not certified for use as a Server nor as a client in the initial version of iFS (release 1.0).

  • Java.lang.UnsatisfiedLinkError: no ocijdbc8 in java

    hi!
    i've tried to run entity-bean with jboss and store it into oracle-db
    this is what i get: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java
    what is ocijdbc8.dll where can i get it, and where must i put it

    Hi,
    I have the same problem - i.e my java.library.path is not setup so I can use the jdbcoci8 driver. I thought all I needed to do was set LD_LIBRARY_PATH to point to the $9iAS_HOME/lib/libocijdbc8.so. But this is not working.
    How do I set java.library.path?
    Thanks for the help,
    Kendall

  • Classes12.jar looking for ocijdbc8.dll instead of ocijdbc9.dll?

    I have installed the client portion of Oracle 9 release 2 and written an EJB that uses the oci JDBC driver. I have no other oracle installation on my machine, so I only have the ocijdbc9.dll in my %ORACLE_HOME%\bin directory, not the ocijdbc8.dll.
    The classes12.jar file (installed by the same installation mentioned above) is in my classpath.
    The code throws an "UnsatisfiedLinkError: no ocijdbc8 in java.library.path". This does not make sense to me because it should be trying to load ocijdbc9.dll.
    Please assist.
    Andreas

    Hi,
    Thank you for your response, but I guess I should have been a little bit more specific. As mentioned, I installed oracle 9 release 2 client only and have no other oracle installation on my machine. I am working on my laptop with Windows XP Professional. The application server hosting my EJB's is Weblogic Server version 7.0. So I am NOT using OC4J. I am accessing an Oracle Database on a Tru64 UNIX box.
    My EJB cannot create the connection because classes12.jar in my ORACLE_HOME\jdbc\lib which is in my classpath tries to load ocijdbc8.dll. Since I have only installed oracle9 release 2, should it not be looking for ocijdbc9.dll??? ocijdbc9.dll exists in ORACLE_HOME\bin. The classes12.jar was installed by the oracle9 release 2 client installation.
    Please help me....
    Regards,
    Andreas

  • Java.lang.UnsatisfiedLinkError: no ocijdbc8

    I received the java.lang.UnsatisfiedLinkError: no ocijdbc8 error while running the following command:
    java OracleXML putXML -user xxx/xxx .....
    I saw a few posts regarding dll files for NT but nothing for AIX.
    Any help would be greatly appreciated.
    Thanks,
    John

    Hi Jinyu,
    Here are the things I was checking for to fix this error.
    I made sure the xsu12.jar and classes12.zip file were in the classpath, and they are.
    I made sure the directory that contains the libocijdbc8.so library was in the classpath. It wasn't so I added it.
    I added the directory that holds the libocijdbc8.so library to the LD_LIBRARY_PATH env variable.
    Thanks,
    John

Maybe you are looking for