"no muxer in java.library.path"

when I start the default server of the weblogic6.0 with sp1,have
the error message,
<Notice> <WebLogicServer> <WebLogic Server started>
<Notice> <WebLogicServer> <SSLListenThread listening on port 7002>
<Notice> <WebLogicServer> <ListenThread listening on port 7001>
<Error> <Performance Pack> <Unable to load performance pack, using
Java I/O.
java.lang.UnsatisfiedLinkError: no muxer 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 weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
>
help me,thanks very much.

weblogic.socket.PosixSocketMuxer ===> All Unix versions (depends on the OS, we
will load the appropriate library)
weblogic.socket.NTSocketMuxer ====> for NT
For NT, make sure $WL_HOME/bin is in your PATH environment variable.
For UNIX , make sure to specify $WL_HOME/lib/solaris in LD_LIBRARY_PATH..
Kumar
hanqj wrote:
when I start the default server of the weblogic6.0 with sp1,have
the error message,
<Notice> <WebLogicServer> <WebLogic Server started>
<Notice> <WebLogicServer> <SSLListenThread listening on port 7002>
<Notice> <WebLogicServer> <ListenThread listening on port 7001>
<Error> <Performance Pack> <Unable to load performance pack, using
Java I/O.
java.lang.UnsatisfiedLinkError: no muxer 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 weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
>
help me,thanks very much.

Similar Messages

  • Unable to Load Performance Pack / No muxer in java.library.path

    When I start weblogic (version 7.0, running under jdk 1.4.1 on Win XP),
    I'm getting the following error:
    <Sep 30, 2002 9:03:02 AM CDT> <Error> <socket> <000433> <Unable to load
    performance pack, using Java I/O instead.
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:832)
    at weblogic.socket.PosixSocketMuxer.<init>
    (PosixSocketMuxer.java:179)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance
    (NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
    (DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance
    (Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:54)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:37)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:199)
    >
    Can anyone tell me what this error means, and if there is a fix or
    workaround? Any help will be appreciated!
    Thanks,
    Tim Perrigo

    This happens with WebLogic every time when Windows version changes:
    in 1.3.1 system property "os.name" is "windows 2000" when running on XP, and
    in 1.4 it is "windows XP". Since Windows names are hardcoded somewhere in
    WebLogic,
    and it doesn't know anything about Windows XP, it thinks that it is running
    on Unix and
    attempts to load Posix performance pack (as you can see in the exception
    stacktrace).
    You can fix this by adding -Dos.name="windows 2000" to the command line.
    "Tim Perrigo" <[email protected]> wrote in message
    news:[email protected]..
    When I start weblogic (version 7.0, running under jdk 1.4.1 on Win XP),
    I'm getting the following error:
    <Sep 30, 2002 9:03:02 AM CDT> <Error> <socket> <000433> <Unable to load
    performance pack, using Java I/O instead.
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:832)
    at weblogic.socket.PosixSocketMuxer.<init>
    (PosixSocketMuxer.java:179)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance
    (NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
    (DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance
    (Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:54)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:37)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:199)
    >
    Can anyone tell me what this error means, and if there is a fix or
    workaround? Any help will be appreciated!
    Thanks,
    Tim Perrigo--
    Dimitri

  • Re: UnsatisfiedLInkError: No muxer in java.library.path

    In the default weblogic.properties file, this should be the first property
    listed under the System Properties section:
    # SYSTEM PROPERTIES
    # System properties in this section are set to system defaults
    # Performance pack. The shared library must be accessible from your
    # PATH (NT) or from your shared library path (UNIX; the name of the
    # variable varies: LD_LIBRARY_PATH, SHLIB_PATH, etc.)
    weblogic.system.nativeIO.enable=true
    Hope this helps,
    Robert
    Raffi Basmajian wrote:
    I dont see "weblogic.system.nativeIO.enable" in the properties file - should
    this attribute be added to the core section?
    Joe Nykilchyk wrote:
    Try setting weblogic.system.nativeIO.enable=false in weblogic.properties.
    Joe
    Raffi Basmajian wrote:
    I get the following error when I try to start weblogic
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1249)
    at java.lang.Runtime.loadLibrary0(Runtime.java:470)
    at java.lang.System.loadLibrary(System.java:768)
    at
    weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:94)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:178)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:140)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:257)
    Any ideas

    CR087944 will fix the problem, or set the following environment varible in the setenv.bat.
    set __COMPAT_LAYER=Win2000

  • UnsatisfiedLInkError: No muxer in java.library.path

    I get the following error when I try to start weblogic
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1249)
    at java.lang.Runtime.loadLibrary0(Runtime.java:470)
    at java.lang.System.loadLibrary(System.java:768)
    at
    weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:94)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:178)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:140)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:257)
    Any ideas

    I dont see "weblogic.system.nativeIO.enable" in the properties file - should
    this attribute be added to the core section?
    Joe Nykilchyk wrote:
    Try setting weblogic.system.nativeIO.enable=false in weblogic.properties.
    Joe
    Raffi Basmajian wrote:
    I get the following error when I try to start weblogic
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1249)
    at java.lang.Runtime.loadLibrary0(Runtime.java:470)
    at java.lang.System.loadLibrary(System.java:768)
    at
    weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:94)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:178)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:140)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:257)
    Any ideas

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

    error while starting weblogic
    plz help me

    According to CR087944 for weblogic 6.1
    "Running under Windows XP resulted in a java.lang.UnsatisfiedLinkError: no muxer in java.library.path error.
    This is because WebLogic Server does not correctly report Windows XP as the host operating system. With JDK 1.3.1_03, os.name is returned "Windows 2000".
    Modification of a method in the SocketMuxer resolved the problem.."
    U need to get the service pack 5 or above in order to resolve this problem

  • No muxer in java.library.path error

    I get this when I try to run server6.0 on win98. can someone help me understand what is wrong?
    Thanks!
    <Nov 17, 2001 4:17:16 PM CST> <Error> <Performance Pack> <Unable to load perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer 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 weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)

    Ramesh & Kumar,
    I got the same error when I tried to run WL Server 6.1
    on my Windows 98. Here is the complete trace. Is this
    error something that can be ignored because it sounds
    like it is something just for performance.
    <Nov 21, 2001 1:57:21 PM EST> <Error> <Performance Pack> <Unable to load perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer 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 weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:232)
    >
    <Nov 21, 2001 1:57:22 PM EST> <Notice> <WebLogicServer> <Started WebLogic Admin
    Server "petstoreServer" for domain "petstore" running in Production Mode>
    Looks like the petstore application is working...inspite of the
    above error message.
    Thanks,
    Balaji.
    Kumar Allamraju <[email protected]> wrote:
    It appears the following stack trace is incomplete.
    I can't believe the stack trace is originated from PosixSocketMuxer.
    posix is only for unix platform.
    In anycase before loading a performance pack we check the OS and
    based on that we will load the appropriate dll/shared library.
    AFAIK, performance pack is not certified on 98.
    That's why it's failing.
    Kumar
    Ramesh wrote:
    I get this when I try to run server6.0 on win98. can someone helpme understand what is wrong?
    Thanks!
    <Nov 17, 2001 4:17:16 PM CST> <Error> <Performance Pack> <Unable toload perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer 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 weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)

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

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

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

Maybe you are looking for

  • Wi-Fi profiles not following priority

    Hello everybody, Short version: Wi-Fi profiles don't follow the priority order, it remains connected to the lowest priority network even though higher priority ones are available. Every day on my way home, my BlackBerry Bold 9700 connects to an open

  • Transfer Dreamweaver 8 to new computer

    Hello, What files do I copy to my new computer to retain all my site settings under manage sites? Thanks in advance.

  • Using Pages as default application for .doc files

    When I double-click .doc files, finder insists on using the MS Word for opening the files. The only trouble is that I dont have Office anymore. The trial expired (good), and I have assosiated the file in finder to "always open with pages" Still.. aft

  • Schema Assignment to WORKSPACE

    Hi, I developed Application in one of the custom Schema. WORSPACE : DEMOSPACE SCHEMA : DEMO Can i assign one more existing schema to "DEMOSPACE" like OE,SCOTT,HR.. Best Regards Perumal Swamy.R

  • After installing on win-32 nothing works. HELP!

    Windows XP I installed xe 11g on local mashine. All installation parameters are default except http port. It adviced me 8081 and i agreed. (8080 is used by another tool). All installation was Ok. I restart my computer. Nothing works. Only startdb and