No ocijdbc9 in java.library.path

I am running an app against Oracle 8.17 with an OCI connection using ocijdbc8.dll. The web server is Tomcat 3.2.3. The app has no problem connecting to the database.
If I run against Tomcat 4 I get the error
java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:294)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:307)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
I do not have Oracle 9i installed so don't know why it is trying to use ocijdbc9.
When I switch back to Tomcat 3 there is no problem.
The Classpath has the Classes12.zip for Oracle 8.1.7
Can anybody shed any light on this??

What is the platform this product is running on? Is LD_LIBRARY_PATH (through wrapper.env) or java.library.path set in jserv.properties?

Similar Messages

  • JDeveloper 9.0.3 - no ocijdbc9 in java.library.path

    I am on Windows XP. I have 8.1.6 and 9.0.3 client drivers installed.
    I am trying to connect to an external Oracle database, but having no luck. I can connect fine with Windows apps including TOAD and SQL*Plus.
    However, using JDeveloper, if I try to use the oci8 driver (there is no oci9 in the dropdown), I get "no ocijdbc9 in java.library.path).
    Using the thin driver, I get
    Io exception: Connection refused(DESCRRIPTION=(TMP=)(VSNUM=135296000)(ERR=12505)ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    TNSPING works as well.

    The setup requirements for using the OCI driver from JDeveloper are available in the help system:
    Working With the Database
    => Configuring Database Connections
    => => Reference: Connection Requirements for Oracle's Type II Drivers (OCI)
    -- Brian (JDev Team)

  • Configure JDBC connection ERROR: no ocijdbc9 in java.library.path

    ERROR: no ocijdbc9 in java.library.path
    step 6 is where I need help!? thanx.
    When configuring a database connection, I chose
    1. Oracle JDBC (connection type)
    2. Authentication (username/password of my D2K repository)
    3. Driver: oci8
    4. Hostname: pmurphy1 (my local machine where my db is)
    5. Port: 1521 default (odbc works on this)
    * 6. Enter custom JDBC url (? please help ?) left blank!!
    I really wanna get started with this cool toy!!!
    Cheers,
    Paully

    I am assuming you are using JDeveloper 3.2x
    Please see the online help for additional details.
    Search help for "JDBC Connection Properties" - With the
    quotations and you will find a page names "JDBC Connection
    Properties"
    This page contains the following info and additional links.
    -John
    ------------- COPIED FROM HELP ---------------
    Oracle JDBC-OCI8 Driver
    Use this type 2 driver when creating a Java application that
    runs against an Oracle8i server. This is a thick driver
    optimized for the Oracle8i database: it cannot be used with
    applets. This driver handles any database protocol (TCP, IPX,
    BEQ, and so on). It is required for applications which are run
    from the machine they are stored on. It can also be used against
    an Oracle7 database.
    This driver requires client software installation. The project
    must also include the correct version of the driver in a library
    and include no other Oracle JDBC library. This driver is
    included in the default Oracle JDBC library for all projects.
    The library is named Oracle 8.1.7 JDBC and it includes both the
    Thin JDBC and JDBC-OCI8 driver library components. For all OCI
    and type 2 JDBC drivers, see Connection Requirements for OCI and
    Type 2 JDBC Drivers.
    ------------- COPIED FROM HELP ---------------

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

    I am using weblogic 8.1. I have the Oracle 817 client install. I cannot figure
    out why WEblogic is looking for a 9i driver. I have read endless amounts of documentation
    talking about setting the PATH to this and the CLASSPATH to that. None of it
    has worked for me. I am running on Win XP Pro. I have modifed the startWeblogic.cmd,
    my system PATH etc, and none of it works for me.
    I have tried the following:
    Set ORACLE_HOME = C:\Orant817
    Set PATH = C:\Orant817\lib;C:\Orant817\bin;%WL_HOME%\bin;%WL_HOME%\bin\oci817_8;C:\Program
    Files\Oracle\jre\1.1.7\bin;C:\Program Files\Oracle\jre\1.1.7\bin;%java_home%\bin;c:\ant\bin
    Updated the startWeblogic.cmd with:
    set OCI_HOME=C:\bea\weblogic81\server\bin\oci817_8\classes12.zip
    set DB_HOME=C:\Orant817\bin
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%WASP_HOME%\lib\xalan.jar;%WASP_HOME%\lib\security-ng.jar;C:\Orant817\jdbc\lib\classes12.zip;%CLASSPATH%
    @REM Call WebLogic Server
    set PATH=%OCI_HOME%;%DB_HOME%;%PATH%
    I can't understand why Weblogic wants to use a 9i driver, when I am clearly pointing
    it to 8i drivers. Obviously I am missing something here.
    Thanks!

    Nathan wrote:
    Thanks Joe! That was the problem. You're a life saver!No, I just have a lot of experience (read: "I'm old") ;-)
    Glad to help. We want you successful.
    Joe
    >
    Joe Weinstein <[email protected]> wrote:
    Congrats on the diligent work. The last step is to put the exact driver
    you want to use, ahead of the weblogic stuff in the server's classpath.
    Our weblogic.jar contains references to our packaged (later) driver.
    In fact we also ship an earlier oracle driver, but we use the later
    by default. Because oracle's drivers change much more frequently than
    our server packaging, the one(s) we ship are usually not as good as the
    ones you can download from oracle's site. Therfore I suggest you download
    their latest version of the driver you want.
    Joe
    Nathan wrote:
    I am using weblogic 8.1. I have the Oracle 817 client install. Icannot figure
    out why WEblogic is looking for a 9i driver. I have read endless amountsof documentation
    talking about setting the PATH to this and the CLASSPATH to that. None of it
    has worked for me. I am running on Win XP Pro. I have modifed thestartWeblogic.cmd,
    my system PATH etc, and none of it works for me.
    I have tried the following:
    Set ORACLE_HOME = C:\Orant817
    Set PATH = C:\Orant817\lib;C:\Orant817\bin;%WL_HOME%\bin;%WL_HOME%\bin\oci817_8;C:\Program
    Files\Oracle\jre\1.1.7\bin;C:\Program Files\Oracle\jre\1.1.7\bin;%java_home%\bin;c:\ant\bin
    Updated the startWeblogic.cmd with:
    set OCI_HOME=C:\bea\weblogic81\server\bin\oci817_8\classes12.zip
    set DB_HOME=C:\Orant817\bin
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%WASP_HOME%\lib\xalan.jar;%WASP_HOME%\lib\security-ng.jar;C:\Orant817\jdbc\lib\classes12.zip;%CLASSPATH%
    @REM Call WebLogic Server
    set PATH=%OCI_HOME%;%DB_HOME%;%PATH%
    I can't understand why Weblogic wants to use a 9i driver, when I amclearly pointing
    it to 8i drivers. Obviously I am missing something here.
    Thanks!

  • Migration 10.1.2 - 10.1.3, error:: no ocijdbc10 in java.library.path

    Hi,
    I'm using Jdev 10.1.3, and my problem is the following one:
    In my connection definition, that ORACLE_JDBC_TYPE is oci8 and when i try to conenct to BD, it occurs:
    java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    I've Oracle Client 9i and 8i, i've used each of them, but it doesn'nt work
    I've drivers,jar, dll of client 10, becuase i supposse that it is that application need,
    and i copy them in jdbc/lib of Oracle client(8i and 9i) and in jDev 10.1.3, but it doesn`t work.
    The files are :
    jars:: classes12.jar and ojdbc14.jar
    dll ::oci.dll,ocijdbc10.dll, ociw32.dll,orannzsbb10.dll,oraocci10.dll and oraociei10.dll
    Is there other path else where i should copy this jars,dllls?
    Could we help me?
    Thanks.

    I am not familiar with Mac OS, but there are two things I can think of that you can check:
    - This is trivial, and you probably did that: ist libocijdbc10.dylib in /usr/local/oracle/instantclient10_1 ?
    - Could it be that Java is 32-bit and libocijdbc10.dylib is 64-bit or vice versa?
    Yours,
    Laurenz Albe

  • How can i find what the java.library.path is?? urgent

    Hi,
    I have an unsatisfiedlinkerror and the message is no jicmp in java.library.path. can anyone tell me how to do System.out.println and the path???
    This is very urgent so anyhelp would be gratefully recieved
    Thanks
    Vanessa

    I have an unsatisfiedlinkerror and the message is no
    jicmp in java.library.path.
    can anyone tell me how to
    do System.out.println and the path???System.getProperty() will retrieve the Java-defined system properties. You can use the following code to determine the available values:
    public static void main( String [] args ) {
    java.util.Properties p = System.getProperties();
    java.util.Enumeration keys = p.keys();
    while( keys.hasMoreElements() ) {
    System.out.println( keys.nextElement() );
    Refer http://www.javaworld.com/javaworld/javaqa/2001-07/01-qa-0706-env.html
    Jatin

  • Starting JVM from C++ via JNI with specified java.library.path switch...

    Please how i can pass java.library.path switch to JVM during JVM creating in C++...????

    Check out this tutorial: http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-12.html
    Do a search for the word 'Djava.library.path'
    fitz

  • How to pass java.library.path as a VM argument in JNLP file

    I jave a jar file containing reference to sqljdbc4.jar as I am using JDBC to talk with SQL Server. It works fine through eclipse IDE when I give the fillowing VM Argument
    -Djava.library.path=C:\Users\reddys2\Downloads\sqljdbc_4.0\enu\auth\x86. Without this I get the "error message" saying that "failed to load sqljdbc_auth.dll
    Now I would like to bundle working jar file in .jnlp and invoke through browser. I tried to add vm argunment (<property name="java.library.path" value="C:\Users\reddys2\Downloads\sqljdbc_4.0\enu\auth\x86"/> ) in the .jnlp file. But still i am getting "WARNING:Failed to load the sqljdbc_auth.dll cause:no sqljdbc_auth in java.library.path"
    Any help is greatly appreciated. Here are the contents of JNLP file
    =======================================================================================
    ?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="http://xxx.16.19.56:8080/ifsdTools/" href="PF_UserList.jnlp">
    <information>
    <title>Login into PF</title>
    <vendor>XXX XXXX</vendor>
    <description>Provides ability to mirror PF Data base locally</description>
    </information>
    <resources>
         <j2se version="1.4+"/>
         <jar href="PopulateIFSDProjectForgeData.jar" />
         <jar href="Psqljdbc4.jar" main/>
         <property name="java.library.path" value="."/>
         <property name="javax.net.ssl.keyStore" value="NONE"/>
         <property name="javax.net.ssl.keyStoreType" value="PKCS11"/>
         <property name="http.proxyHost" value="proxy1.lmco.com"/>
         <property name="http.proxyPort" value="80"/>
         <property name="java.library.path" value="C:\Users\xxxx\Downloads\sqljdbc_4.0\enu\auth\x86"/>
         <property name="pfProjectId" value="proj1073" />
    </resources>
    <security>
         <all-permissions/>
    </security>
    <application-desc main-class="ifsdTools.PopulateIFSDProjectForgeData" />
    </jnlp>
    =========================================================================================================
    Edited by: 878645 on Apr 26, 2012 3:43 PM

    Thanks for the pointer. Question that I have is I am referencing sqljdbc4.jar in my application, which in turn using sqljdbc_auth.dll.
    Which one should i refernce through <nativelib>. Is it sqljdbc4.jar or sqljdbc_auth.dll.
    have added the following line to the .jnlp.
    <nativelib href="sqljdbc4.jar"/>
    But still it is complaining on sqljdbc_audth.dll. If it is sqljdbc_auth.dll, can I use <nativelib> to pass it.
    In that case does it need to be signed?. If so,
    Is it possible to sign .dll using 'jarsigner'?.
    Edited by: 878645 on Apr 26, 2012 3:43 PM

  • How do i print out the java.library.path??

    hi, can anyone show me how to print out java.library.path to the terminal? im having unsatisfiedlinkerror problems
    thanks for help in advance
    vanessa

    System.out.println(System.getProperty("java.library.path"));

  • Oracle Calendar - UnsatisfiedLinkError: no csdkjni in java.library.path

    Hi, all.
    I deployed my test calendar application developed using Jdeveloper 10.1.3.0 (on Windows XP) to the Oracle 10.1.3. AS on a linux server, but the CalendarServer in on another installation (Collaboration Suite 10.1.2) on the same linux server.
    When I try to executed the code that calls the calendar server I get this error:
    500 Internal Server Error
    javax.faces.el.EvaluationException: java.lang.UnsatisfiedLinkError: no csdkjni in java.library.path
    I set the LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/ocal/lib on the collaboration suite 10.1.2 installation.
    When I try to run the code on my Jdeveloper I get the same error:
    java.lang.UnsatisfiedLinkError: no csdkjni in java.library.path
    In my windows machine I create a folder where I put the dll's and jar files that came from the collaboration suite windows installation, but I get always the same error
    This is the code:
    try
    Api.init("calendar.ini", "calendar.log");
    catch(Api.StatusException e)
    System.out.println("init returned status'" + e.getMessage() + "'");
    System.exit (1);
    Is my approach correct? Because if i'm developing on Windows and I need dll's files to connect to the calendar server on linux, but when I deploy the application to the linux server those dll's are useless and cannot be used. So am I missing something here? Do I need anything else to get this to work?
    Best Regards,
    Rui

    1. Use 1 and only 1 of classes12.zip and ojbc14.jar; they have different versions of the same classes in them.
    2. The Oracle OCI driver for JDBC uses .dll files or .so files from the Oracle client installation (as well as Oracle network configuration files, I think); most people use the thin driver instead to avoid this problem.
    To use the thin driver, change your url, see here for details:
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#05_00
    To stay with the OCI driver (not recommended), you need to have the appropriate Oracle client installation (or at least get the dlls or sos), and I think set additional environment variables, such as ORACLE_HOME and possibly LD_LIBRARY_PATH. I don't do this myself, so I can't give much more advice.

  • 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.

  • No ocijdbc10 in java.library.path

    Hello,
    I am using suse 9.3
    I installed http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html.
    Steps:
    1. copy files to /opt/oracle/client
    2. insert /opt/oracle/client into /etc/ld.so.conf
    3. copy tnsnames.ora into /opt/oracle/client
    3. export TNS_ADMIN=/opt/oracle/client
    then I try to write simple java aplication:
    package oracletest;
    import java.sql.SQLException;
    import oracle.jdbc.pool.*;
    import oracle.jdbc.oci.*;
    * @author hlavki
    public class Main {
         /** Creates a new instance of Main */
         public Main() {
          * @param args the command line arguments
         public static void main(String[] args) {
              try {
                   new OracleOCIConnectionPool
                        ("username", "*****", "jdbc:oracle:oci:@(description=(address=(host=10.0.0.224)(protocol=tcp)(port=1521))(CONNECT_DATA = (SERVICE_NAME = RORA.world)(FAILOVER_MODE = (TYPE=SELECT)(METHOD=BASIC))))", null);
              } catch (SQLException e) {
                   System.out.println(e.getMessage());
              } catch (java.lang.UnsatisfiedLinkError e2) {
                   System.out.println(e2.getMessage());
    }I write from command line:
    java -cp ./OracleTest.jar:/opt/oracle/client/ojdbc14.jar oracletest.Maineverytime I get error: "no ocijdbc10 in java.library.path".
    I don't know where is problem...
    hlavki@homer:~/bordel/datastudio> l /opt/oracle/client
    celkom 101162
    drwxr-xr-x  4 root   root       576 2005-07-26 10:27 ./
    drwxr-xr-x  5 root   root       136 2005-07-26 10:05 ../
    drwxr-xr-x  2 root   root        72 2005-07-25 18:00 bin/
    -r--r--r--  1 root   root   1590491 2005-06-28 19:11 classes12.jar
    -r--r--r--  1 root   root      1525 2005-06-28 19:11 glogin.sql
    lrwxrwxrwx  1 root   root        17 2005-07-26 08:44 libclntsh.so -> libclntsh.so.10.1*
    -rwxrwxrwx  1 root   root  18505986 2005-06-28 19:11 libclntsh.so.10.1*
    -r-xr-xr-x  1 root   root     27702 2005-06-28 19:11 libheteroxa10.so*
    -r-xr-xr-x  1 root   root   5480533 2005-06-28 19:11 libnnz10.so*
    -rwxrwxrwx  1 root   root   1397960 2005-06-28 19:11 libocci.so.10.1*
    -rwxrwxrwx  1 root   root  70659429 2005-06-28 19:11 libociei.so*
    -r-xr-xr-x  1 root   root    119947 2005-06-28 19:11 libocijdbc10.so*
    -r-xr-xr-x  1 root   root   1434227 2005-06-28 19:11 libsqlplusic.so*
    -r-xr-xr-x  1 root   root   1047293 2005-06-28 19:11 libsqlplus.so*
    -r--r--r--  1 root   root   1536979 2005-06-28 19:11 ojdbc14.jar
    -r--r--r--  1 root   root   1642000 2005-06-28 19:11 orai18n.jar
    drwxrwxrwx  4 root   root       152 2005-06-28 19:11 sdk/
    -r-xr-xr-x  1 root   root      8843 2005-06-28 19:11 sqlplus*
    -rw-rw-r--  1 hlavki users      478 2005-07-26 10:12 tnsnames.orathanks, miso

    I am found the same error but my app server is in windows. What should I do?
    Exception
    Type:
    class java.lang.UnsatisfiedLinkError
    Message:no ocijdbc10 in java.library.path Stack trace:java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:834)
         at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:2855)
         at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:222)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:344)
         at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:136)
         at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at com.rap_x.setup.HibernateConfigurator.checkJdbcConnection(HibernateConfigurator.java:416)
         at com.rap_x.setup.controllers.DatabaseController.setupDB(DatabaseController.java:53)
         at com.rap_x.setup.controllers.AbstractDatabaseController.processFormSubmission(AbstractDatabaseController.java:77)
         at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:236)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:119)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:389)
         at org.springframework.web.servlet.FrameworkServlet.serviceWrapper(FrameworkServlet.java:342)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:328)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)

  • No ocijdbc10 in java.library.path - can not figure out

    I am using Eclipse 3.2 and connecting to an Oracle 10g server. All of my projects were working just fine. BUT, I needed to move the java code and directories from one server to another becuase the other server was retiring. I recreated all my projects now I get the following error. I am on a Windows XP machine and DO have the 10g Client installed. Any help would be greatfully appreciated.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3135)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3131)
         at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
         at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at boa.Sword.db.srdDBCommon.getConnection(srdDBCommon.java:13)
         at boa.Sword.mods.srdUIProcedures.getCurrentUser(srdUIProcedures.java:229)
         at boa.Sword.gui.srdMainapp.run(srdMainapp.java:73)
         at boa.Sword.gui.srdMainapp.main(srdMainapp.java:448)

    I suppose there really is a reason for using the OCI driver.
    Windows has a PATH environment variable. That is where windows looks for dlls (at least in this case.)
    There are two possibilities
    1. The system env var doesn't have the value.
    2. However you are starting the application it is resetting PATH. So you need to figure out how it does that and adjust so it does include it. This normally means that you use some other environment variable, specific to the app, which is used in the start up to create a PATH.

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

    Hi,
    I'm using Java 1.5 with Oracle 10g on a Mac 10.5.6 and trying to use the OCI cilent. Sadly, I'm getting the following error
    Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:993)
    at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3147)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3143)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132) at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at com.caucho.sql.DriverConfig.createDriverConnection(DriverConfig.java:567)
    at com.caucho.sql.ManagedConnectionImpl.initDriverConnection(ManagedConnectionImpl.java:242) at com.caucho.sql.ManagedConnectionImpl.<init>(ManagedConnectionImpl.java:131)
    at com.caucho.sql.ManagedFactoryImpl.createManagedConnection(ManagedFactoryImpl.java:121) at com.caucho.jca.ConnectionPool.create(ConnectionPool.java:792)
    at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:661) at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:620)
    ... 23 more
    My database connection string is
    jdbc:oracle:oci:@test-database:1521:orcl11
    I am using a Resin 3.0.19 app server, and the java.library.path I set it to is /opt/oracle:/opt/oracle/lib. Here are the contents of those directories
    /opt/oracle:
    bin     lib     network     ord     sqlj
    /opt/oracle/lib
    README_IC.htm          libheteroxa10.dylib     libocijdbc10.dylib     orai18n.jar
    classes12.jar          libnnz10.dylib          libsqlplus.dylib     sqlplus
    glogin.sql          libocci.dylib.10.1     ocrs12.jar
    libclntsh.dylib.10.1     libociei.dylib          ojdbc14.jar
    Any ideas for further troubleshooting? Thanks, - Dave

    The oci library must be in the shared library path of the platform. Simple as that.
    Do you have that library(ocijdbc10) installed? On platforms besides MAC a client install of the Oracle GUI allows for it.

  • SQL Developer Not Working "no ocijdbc11 in java.library.path"

    Hi,
    I have Oracle 10g with SQL Developer 3.0 on Windows XP, they worked well untill I just installed Oracle ODBC (ODAC101040.exe). I started to receive error message "no ocijdbc11 in java.library.path" and I am no longer able to use SQL Developer.
    Any solution?

    Check on the envirnment variables on the windows. Once you installed the "Oracle ODBC" it might have replaced the Old env. variables that can found in XP "System Properties> advance tab> environment Variables". Make sure you have the right environment variables that point to right directory locations. Update us with your findings.

Maybe you are looking for

  • Play guitar on Tecra M9

    Hi, I am trying to play my guitar through my Tecra M9, unfortunately I cannot hear the guitar through speakers or headphones. I have also tried this using an external mic, as in karaoke type setup.  The mic works, I can hear it if I record, but there

  • SetFireActionForSubmit method cannot be invoked in OAImageBean

    hi, I have added an updateicon_enabled image to the seeded page (id:img2), through personlization, now i want to add fireAction to the above image programmtically i have usen the below code but it's giving error "setFireActionForSubmit method cannot

  • Manual duplexing with hp 2840

    How do I manually duplex with hp2840 (and get pages 1 & 2, ect. back to back)?

  • HH5 loses internet connection for a few seconds

    I am struggling with the same issue for quite some time now. We have HH5 Type A  and BT Infinity 2 unlimited All of a sudden it happens several times a day that we lose the internet connection. At the same time, the HH5 manager doesn't respond either

  • Connecting G4 and Macbook Pro

    I think this is a basic question and hoping the solution is something simple. I currently use a wireless connection for the internet and printer for my G4 and Macbook Pro. I want to connect the two computers together so I can share files, since they