OCIJDBC8 not found in java.library.path

I am using JDK1.2.2 and OS Windows ME and Database Oracle 8.1.7
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 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.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at DBConnection.<init>(DBConnection.java:19)
at DBConnection.main(DBConnection.java:11)
Following are the path set
COMSPEC=C:\WINDOWS\COMMAND.COM
PATH=C:\WINDOWS\SYSTEM;C:\WINDOWS;C:\WINDOWS\COMMAND; D:\Blazix;E:\ORAWIN95\BIN;
C:\jdk1.3\bin;c:\jsdk2.0\bin;d:\javawebserver2.0\bin;c:\jaxp-1.1;
PROMPT=$p$g
xxxxxxxxxxxxxxxxxxxxx
TMP=C:\WINDOWS\TEMP
CLASSPATH=.;C:\jdk1.3\jre\lib\rt.jar;c:\jsdk2.0\lib\jsdk.jar;c:\jdk1.3\lib\tools
.jar;d:\Blazix\Blazix.jar;c:\jaxp-1.1\crimson.jar;c:\jaxp-1.1\xalan.jar;c:\jaxp-
1.1\jaxp.jar;e:\orawin95\jdbc\lib\classes12.zip;e:\orawin95\jdbc\lib\nls_charset
12.zip;d:\Blazix\ejbtut\PropsEjb.jar
JAVA_HOME=c:\jdk1.3
LD_LIBRARY_PATH=E:\ORAWIN95\JDBC\LIB;
winbootdir=C:\WINDOWS
windir=C:\WINDOWS
BLASTER=A220 I5 D1
CMDLINE=java DBConnection
null

ocijdbc8.dll is included with the oracle oci jdbc 8 driver. If you get the thin driver instead, the dll is not included.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Vijay Hegde ([email protected]):
I am using JDK1.2.2 and OS Windows ME and Database Oracle 8.1.7
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 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.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at DBConnection.<init>(DBConnection.java:19)
at DBConnection.main(DBConnection.java:11)
Following are the path set
COMSPEC=C:\WINDOWS\COMMAND.COM
PATH=C:\WINDOWS\SYSTEM;C:\WINDOWS;C:\WINDOWS\COMMAND; D:\Blazix;E:\ORAWIN95\BIN;
C:\jdk1.3\bin;c:\jsdk2.0\bin;d:\javawebserver2.0\bin;c:\jaxp-1.1;
PROMPT=$p$g
xxxxxxxxxxxxxxxxxxxxx
TMP=C:\WINDOWS\TEMP
CLASSPATH=.;C:\jdk1.3\jre\lib\rt.jar;c:\jsdk2.0\lib\jsdk.jar;c:\jdk1.3\lib\tools
.jar;d:\Blazix\Blazix.jar;c:\jaxp-1.1\crimson.jar;c:\jaxp-1.1\xalan.jar;c:\jaxp-
1.1\jaxp.jar;e:\orawin95\jdbc\lib\classes12.zip;e:\orawin95\jdbc\lib\nls_charset
12.zip;d:\Blazix\ejbtut\PropsEjb.jar
JAVA_HOME=c:\jdk1.3
LD_LIBRARY_PATH=E:\ORAWIN95\JDBC\LIB;
winbootdir=C:\WINDOWS
windir=C:\WINDOWS
BLASTER=A220 I5 D1
CMDLINE=java DBConnection
<HR></BLOCKQUOTE>
null

Similar Messages

  • Loading jperflib failed. jperflib (Not found in java.library.path)

    Please:
    We are working with SAP Netweaver EHP1 7.0, Red Hat Enterprise Linux 5, Oracle 10g,
    SAP Application Server JAVA/Oracle, Central System
    Java versión installed IBMJava2-amd64-142
    java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20100916a (JIT enabled)
    J9VM - 20100914_64612_LHdSMr
    JIT  - 20090210_1447ifx2_r8
    GC   - 200902_24)
    step 23 de 37: Configure UME:
    Message error:
    INFO 2010-11-19 20:04:41.532
    Output of /opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/
    CENTRAL/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.s
    ap.engine.configtool.batch.BatchConfig /usr/sap/BJD/SYS/global/security/lib/tools/iaik_jce.ja
    r:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/BJD/SYS/global/security/l
    ib/tools/iaik_smime.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/BJD/
    SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/ins
    tall/lib:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/install/sharedlib:/oracle/client/10x_
    64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/BatchConfig.xml i
    s written to the logfile batchconfig.log.
    WARNING 2010-11-19 20:04:43.908
    Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/NW
    701/AS-JAVA/ORA/CENTRAL/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.Offlin
    eToolStart com.sap.engine.configtool.batch.BatchConfig /usr/sap/BJD/SYS/global/security/lib/t
    ools/iaik_jce.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/BJD/SYS/g
    lobal/security/lib/tools/iaik_smime.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_ssl.j
    ar:/usr/sap/BJD/SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW701/AS-JAVA
    /ORA/CENTRAL/install/lib:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/install/sharedlib:/or
    acle/client/10x_64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/B
    atchConfig.xml" finished with return code 183. Output:
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.pat
    h).
    hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration.
    WARNING[E] 2010-11-19 20:04:43.909
    CJS-30059  Java EE Engine configuration error. DIAGNOSIS: See output of log file batchconfig.
    log: '
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.pat
    h)
    .hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration. '.
    ERROR 2010-11-19 20:04:44.7
    FCO-00011  The step runBatchconfig with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_S
    ystem|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|i
    nd|ind|ind|ind|5|0|runBatchconfig was executed with status ERROR
    Thanks for your comments nad suggestion

    good afternoon:
    the error loading jperflib failed. jperflib (Not found in java.library.path) is fixed,
    Solution:  LD_LIBRARY_PATH=/sapmnt/SID/exe
    but other error appear
    /usr/sap/BJD/JC01/j2ee/admin/adminCFG.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/admin/cfg/adminCFG.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/deploying/dplOptions.options doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/configtool/config.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/deploying/rdb.properties doesn't exist and will be created by batchconfig.
    .hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration.
    com.sap.engine.frame.core.configuration.NameNotFoundException: A property with the name "java.parameters" cannot be found in the  PropertySheet "cluster_data/server/cfg/element-info.ID139743".
            at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.<init>(PropertyEntryImpl.java:85)
            at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.readPropertyEntry(PropertyEntryImpl.java:54)
            at com.sap.engine.core.configuration.impl.addons.PropertySheetImpl.getPropertyEntry(PropertySheetImpl.java:127)
            at com.sap.engine.configtool.batch.task.ElementInfoTask.setElementInfoProperties(ElementInfoTask.java:243)
            at com.sap.engine.configtool.batch.task.ElementInfoTask.go(ElementInfoTask.java:184)
            at com.sap.engine.configtool.batch.BatchConfig.go(BatchConfig.java:60)
            at com.sap.engine.configtool.batch.BatchConfig.main(BatchConfig.java:98)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

  • Weird java library path error

    I have the so file in the path and the file name is spelled correctly. Java still complains that the so file is not in the java.library.path. I used System.loadLibrary("Java_xDVDFSReader"). Is it possible that my so file is messed up? I included the gcc command I used to make it. I'm not familar w/ gcc so I'm not sure if the error comes from a "messed up" so file or not. Any suggestions? TIA
    [ttran@localhost Java-Library-Path]$ java FindJavaLibraryPath
    Library path: /usr/java/j2sdk1.4.2_02/jre/lib/i386/client:/usr/java/j2sdk1.4.2_02/jre/lib/i386:/usr/java/j2sdk1.4.2_02/jre/../lib/i386:/home/ttran/projects/Java_xDVDFSReader/final/
    [ttran@localhost Java-Library-Path]$ cd ../Java_xDVDFSReader/final/
    [ttran@localhost final]$ ls
    C-Lib Java_xDVDFSReader.so xDVDFSReader.class xDVDFSReader.java xDVDFSReader.java~
    [ttran@localhost final]$ pwd
    /home/ttran/projects/Java_xDVDFSReader/final
    [ttran@localhost final]$ java xDVDFSReader
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no Java_xDVDFSReader.so in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at xDVDFSReader.<clinit>(xDVDFSReader.java:15)
    [ttran@localhost final]$ cd C-Lib/
    [ttran@localhost C-Lib]$ make
    gcc -o ../Java_xDVDFSReader.so -shared -Wl,-soname,Java_xDVDFSReader.so -I/usr/java/j2sdk1.4.2_02/include -I/usr/java/j2sdk1.4.2_02/include/linux Java_xDVDFSReader.c -static -lc

    This thread contains the answer:
    http://forum.java.sun.com/thread.jsp?thread=298006&forum=54&message=1178476
    It's stupid to have to put "lib" infront of a so file. Whose fault is it? UNIX or Java ;)

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

  • No ocijdbc8 in java.library.path

    Hello,
    I have my database on Oracle 8i on one machine.
    My java codes using JDBC is on other machine.
    I wanted to fetch datas from Oracle 8i.
    I tried a simple code and it gaved me the
    following exception...
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1370)
    at java.lang.Runtime.loadLibrary0(Runtime.java:773)
    at java.lang.System.loadLibrary(System.java:835)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
    at oracle.jdbc.driver.OracleConnection.<init>(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:515)
    at java.sql.DriverManager.getConnection(DriverManager.java:174)
    at Employee.main(Employee.java:32)
    Please give some solution.
    Thanking You.
    Mehul

    I'm trying to do this too under Tomcat (in fact I just posted my own thread)
    The problem is apparently a matter of getting the right library path. Normally I'd expect to add the necessary library (which is probably $ORACLE_HOME/lib) in a LD_LIBRARY_PATH environment variable.
    Tomcat doesn't appear to respect this variable, but you can change java.library.path with
    -Djava.library.path= .. path ..
    on the java command.
    I haven't got it right yet, however. Setting -Djava.library.path=$ORACLE_HOME/lib got me arround the first error, but I then got another library module not found.
    The thin driver works fine, but I do want to move to the more efficient oci8.

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

  • Another "no ocijdbc8 in java.library.path"

    Hello Guys,
    Well, I got the problem described in my subject.
    I found in forum history many answers about this. I have tried some actions to correct that problem, but they didn't work out. (I renamed the file classes12.zip to classes12.jar... to classes.jar... I have put in the PATH variable the right path to the ocijdbc8.dll file.... anyway..)
    I'm using Win2k, Tomcat 4.1.12 and Oracle 8.1.7 running in Pentium III with 256MB and 30GB (HD). I have already installed the Oracle Client in my machine. I don't know more what to do...
    ====================================================
    The error:
    org.apache.jasper.JasperException: no ocijdbc8 in java.library.path
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
    ====================================================
    Anybody know about this or got a similar problem?
    Best Regards
    Diogo Montanaro Pedroso
    [email protected]

    http://forum.java.sun.com/thread.jsp?thread=87301&forum=48&message=224718

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

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

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

  • UnsatisfiedLinkError: no ocijdbc8 in java.library.path

    In case any of you have gotten this error (I've seen a lot of posts in reference to it) and are using Windows Apache Jserv..... make sure to update your jserv.properties's wrapper.path property with the path to your OCIJDBC8.DLL.
    Here is the error log from my mod_jserv.log file:
    [26/07/2000 00:08:12:433] (ERROR) ajp12: Servlet Error: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path: no ocijdbc8 in java.library.path
    so if you've got similar problems and already have ocijdbc8.dll in your WINDOWS path.. remember that JSERV requires it in ITS OWN PATH property.
    Just trying to be helpfull :^)
    Moran Ben-David
    [email protected]

    are you able to run jdbc programs from javac?

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

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

  • No ttJdbc in java.library.path

    Hi,
    I am getting following error while starting JBOSS which is pointing to timesten
    (java.sql.SQLException: Problems with loading native library/missing methods: no ttJdbc in java.library.path)
    I have set LD_LIBRARY_PATH
    /u01/app/oracle/product/10.2.0/db_1/lib:/usr/lib:/home/timesten/TimesTen/tt70/lib/
    JBOSS is installed using timesten user only.
    ttjdbc5.jar and ttjdbc6.jar and classes15.jar and classes16.jar have been copied to JBOSS/lib and JBOSS/server/default/lib
    Can anyone guide me?
    Thanks in advance,
    Pankti

    This is complaining about not being able to find the shared library libttJdbc.so which is to be found in &lt;TT_HOME&gt;/lib. Normally this would be found via LD_LIBRARY_PATH but it maybe that JBOSS uses something else (perhaps java.library.path?).
    Chris

Maybe you are looking for