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)

Similar Messages

  • 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

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

  • Mac OS X 10.4.x and error no ocijdbc10 in java.library.path

    Hi all,
    I installed Oracle Instant Client 10.1.0.3 on my Mac OS X 10.4 (PPC). I stored this client into path /usr/local/oracle/instantclient10_1. I set all properties as PATH, ORACLE_HOME, DYLD_LIBRARY_PATH, etc...
    export set ORACLE_HOME=/usr/local/oracle/instantclient10_1
    export set DYLD_LIBRARY_PATH=$ORACLE_HOME
    export set LD_LIBRARY_PATH=$ORACLE_HOME
    export set SQLPATH=$ORACLE_HOME
    export set TNS_ADMIN=$ORACLE_HOME
    export set PATH=$PATH:$ORACLE_HOME
    When I use SQLPLUS all work correctly but when I use JDBC OCI driver I got error no ocijdbc10 in java.library.path. But when I show system property java.library.path I can see this: java.library.path ==> /usr/local/oracle/instantclient10_1:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    Can you somebody help with it. Thanx
    Edited by: user2258172 on 4.6.2009 7:21

    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.

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

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

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

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

  • Error "no ocijdbc11 in java.library.path" in SQL Developer 4

    Hi!
    I have just installed the latest version of Oracle 12c and the latest SQL Developer (4.0.0.12). I have also JDK 7u25 installed. I run everything on Windows 7 64bit. When I create a local connection in SQL Developer and test or try to connect I get the error: no ocijdbc11 in java.library.path
    If I try the exact same thing in SQL Developer 3.2.2 (the one bundled with the latest Oracle 12c) it works fine. In both versions of SQL Developer I have done no configuration and all the settings are the defaults.
    I have read all the posts that relate to this error message, but they are all based on older versions or other platforms.
    Is there a problem in the default configuration of SQL Developer 4 or a compatibility problem with Oracle 12c? Any ideas of how to fix this?
    When I compare the properties of the two versions of SQL Developer I see that most of them are identical, but the java.library.path points to the sqldeveloper/bin directory in v4 and to the sqldeveloper root folder in v3. I don't know if that is significant.
    Also the setting "Use OCI/Thick Driver"  under "Database: Advanced" is unchecked, so it seems strange that it tries to use it anyway.
    /nikos

    Nikos:
    You should search that ocijdbc11 is installed in a path similar to C:\Oracle32bit\product\11.2.0\client32bit\bin and that this path (or C:\Oracle32bit\product\11.2.0\client32bit) is in your java.library.path.
    If you click on Help|About and the Extensions tab you will see a list of some of these.
    Click on the Export button and copy the contents to a file or clipboard.  Open the file (or Ctrl/V) in an editor and search for java.library.path.  This is the list of ;-separated folders that SQL looks in. Ensure that this list includes the one where your ocijdbc11 was found.
    HTH

Maybe you are looking for

  • Clamshell iBook Limbo

    I have a Tangeriene Clamshell iBook stuck in limbo. When it boots, it plays the tiger intro video, then when it should start the setup (Getting Started), it just displays the wallpaper and a cursor. Resetting the password doesn't work using any insta

  • Find out why an SSIS package takes so long execute ?

    Is there any guideline which shows how to find out why a package is taking "too long" to execute ? I guess one situation could be that an SQL query (if you have one) is taking too long. Perhaps the query could be optimized or perhaps its table could

  • ITunes connection is extremely slow

    For the past five days my connection to iTunes has been painfully slow. This slowness applies to everything from updating podcasts to simply accessing the iTunes store. This seems to be unrelated to my internet connection as I haven't noticed any slo

  • Backup-SPFarm for PowerPivot Service Application

    Hi  I am using Backup-SPFarm PowerShell cmdlet to take a backup of my service applications. I am able to take the backup of all my services applications except PowerPivot Service Application. Below is my command: Backup-SPFarm -Directory $backupSAFol

  • Errors installing update for Reader

    I tried to install an update on my PC for Reader and received an error msg 1321 or 1301 about authority to access a file location. I uninstalled and reinstalled (tried) and now I have a blue screen and windows will not open.  I've tried several troub