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

Similar Messages

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

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

  • No vdc in java.library.path error in performance reporting

    Has anyone ran into this issue? This is the error message I'm currently receiving while looking at the performance link in OEM reports. Everything else seems to work ok. Anyone know what file this is located in? Or where I'm going wrong?
    [Thread-160][2003-3-7:14:28:1:271] VtdService.Connect
    [Thread-160][2003-3-7:14:28:1:271] VtdService.getDataGatherer : [this=oracle.sysman.vtd.VtdService@44a5ec, m_dg=null, connect=true] initializing VtdDataGatherer for this service...
    [Thread-160][2003-3-7:14:28:1:271] VtdDataGatherer.&lt;init&gt;
    [Thread-160][2003-3-7:14:28:1:271] VtdcDataGatherer.initializeDirectConnect
    [Thread-160][2003-3-7:14:28:1:272] VtdException.&lt;init&gt;: Unable to locate the library necessary to support direct connect monitoring.
    java.lang.UnsatisfiedLinkError: no vdc in java.library.path

    Has anyone ran into this issue? This is the error message I'm currently receiving while looking at the performance link in OEM reports. Everything else seems to work ok. Anyone know what file this is located in? Or where I'm going wrong?
    [Thread-160][2003-3-7:14:28:1:271] VtdService.Connect
    [Thread-160][2003-3-7:14:28:1:271] VtdService.getDataGatherer : [this=oracle.sysman.vtd.VtdService@44a5ec, m_dg=null, connect=true] initializing VtdDataGatherer for this service...
    [Thread-160][2003-3-7:14:28:1:271] VtdDataGatherer.&lt;init&gt;
    [Thread-160][2003-3-7:14:28:1:271] VtdcDataGatherer.initializeDirectConnect
    [Thread-160][2003-3-7:14:28:1:272] VtdException.&lt;init&gt;: Unable to locate the library necessary to support direct connect monitoring.
    java.lang.UnsatisfiedLinkError: no vdc in java.library.path

  • 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

  • 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

  • ERROR on AIX - no library weblogicoci36 (libweblogicoci36.a or .so) in java.library.path

    I have WLS 5.1 SP10 running successfully on all platforms (Solaris,
    HP-UX, NT/2000 and AIX). On AIX, I am unable to communicate with the
    Oracle instance. The error I am receiving is the well-known "no
    library weblogicoci36 (libweblogicoci36.a or .so) in
    java.library.path". The actual command and output are:
    [undertaker]/apps/weblogic2/weblogic/bin/oci816_8$ java utils.dbping
    ORACLE weblogic weblogic
    Error encountered:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError
    with the message 'no library weblogicoci36 (libweblogicoci36.a or
    .so) in java.library.path'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at java.sql.DriverManager.getConnection(DriverManager.java:459)
    at java.sql.DriverManager.getConnection(DriverManager.java:108)
    at utils.dbping.main(dbping.java:156)
    I have followed the BEA recommended resolution steps, and the problem
    persists. While I have seen many posts about this problem on Solaris,
    NT and even HP-UX, I have not been seen posts with AIX as the
    platform. Any insight into why the problem is occuring is greatly
    appreciated. Here is the enviroment:
    1. AIX 4.3.3
    2. WLS 510 SP10
    3. Oracle 8.1.6
    ============= Setting Environment ================
    WL_HOME=/apps/weblogic2/weblogic
    JAVA_HOME=/usr/java_dev2
    CLIENT_CLASSES=/apps/weblogic2/weblogic/myserver/clientclasses
    SERVER_CLASSES=/apps/weblogic2/weblogic/myserver/serverclasses
    SERVLET_CLASSES=/apps/weblogic2/weblogic/myserver/servletclasses
    PATH=/usr/java_dev2/jre/sh:/usr/java_dev2/sh:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/apps/oracle/product/8.1.6/bin:/usr/local/bin:/usr/ucb
    CLASSPATH=/usr/java_dev2/lib/tools.jar:/apps/weblogic2/weblogic/license:/apps/weblogic2/weblogic/lib/weblogic510sp10.jar:/apps/weblogic2/weblogic/classes:/apps/weblogic2/weblogic/lib/weblogicaux.jar:/apps/weblogic2/weblogic/lib/aix/oci816_8:/apps/oracle/product/8.1.6/bin:/apps/oracle/product/8.1.6/lib:/apps/weblogic2/weblogic/bin/oci816_8:/apps/weblogic2/weblogic/myserver/clientclasses:/apps/weblo
    ic2/weblogic/myserver/serverclasses
    LIBPATH=/apps/weblogic2/weblogic/lib/aix:/apps/weblogic2/weblogic/lib/aix/oci816_8:/apps/oracle/product/8.1.6/lib
    Regards,
    Jeffrey Overton

    We have "worked around" this problem. We switched to the Oracle thin
    client driver and resolved the problem. We are still working with BEA
    Technical Support on this issue. I'll post updates as we get more
    information.
    [email protected] (Jeffrey Overton) wrote in message news:<[email protected]>...
    "Tom Gross" <[email protected]> wrote in message news:<[email protected]>...
    I haven't tried 5.1 on AIX, but I know in 6.0 there is an error in startWebLogic.sh
    specific to AIX: it exports "LIB_PATH" when it should say "LIBPATH". I just checked
    in the 5.1 script and it appears to have the same error. You need to change the
    name "LIB_PATH" to "LIBPATH". This error is fixed in 6.1 so we can be sure there
    is at least one other person on the planet who is trying to use Weblogic on AIX.
    :-)Tom,
    Thanks for the help. Unfortunately, I cannot find a reference to
    LIB_PATH in setEnv.sh or startWebLogic.sh. At this point, we are
    pursuing the possibility that the IBM JDK 1.2.2 introduced some
    incompatibilities. From the "IBM AIX Developer Kit, Java TM2
    Technology Edition, Version 1.2.2 README":
    "Because of incompatibility between the IBM AIX Developer Kit, Java
    TM2 Technology Edition, Version 1.2.2"..."JNI executable programs,
    including third-party software packages and those built for previous
    Java software releases on AIX, that were built without this binder
    option are NOT compatible with the JVM in this
    release"..."Compatibility of an executable program can be verified
    using dump -ov The stdout output will show the modtype to be "UR"..."A
    script file (convertJNI) is shipped in the directory
    /usr/java_dev2/sdk/sh. This script will help you to convert the
    modtype to UR in the optional header of your JNI executable programs
    without having to recompile the code."
    Out of the hundreds of potential files, which need to be converted?
    Based on additional information obtained by running in verbose mode,
    we were able to gather the following:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError
    with the message '/apps/weblogic2/weblogic/lib/aix/oci816_8/libweblogicoci36.a:
    0509-130 Symbol resolution failed
    for /apps/oracle/product/8.1.6/lib/libclntsh.a(shr.o) because:
    0509-136 Symbol JNI_CreateJavaVM (number 253) is not
    exported from
    dependent module /usr/java_dev2/jre/bin/libjava.a.
    0509-136 Symbol JNI_GetDefaultJavaVMInitArgs (number 254) is
    not exported from
    dependent module /usr/java_dev2/jre/bin/libjava.a.
    0509-136 Symbol dlsym (number 255) is not exported from
    dependent module /usr/j'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at java.sql.DriverManager.getConnection(DriverManager.java:459)
    at java.sql.DriverManager.getConnection(DriverManager.java:108)
    at utils.dbping.main(dbping.java:156)
    We performed the dump -ov on each and each reported a modtype of RE
    instead of UR.
    We backed up libclntsh.a and libweblogicoci36.so, converted one at a
    time, and ran the dbping after each. No such luck. Any ideas on how
    we can find the JNI needle in the haystack?
    Regards,
    Jeffrey Overton

  • NW CE 7.1 error- loading jperflib failed. no jperflib in java.library.path

    I am installing NW CE 7.1 EHP 1 trial (downloaded from sdn download area) , I am getting subjected error in step 26 of 32.
    PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path
    I tried by stoping the instance / restart OS/ restart installation / Restart instance from mmc .. but no luck.
    I also tried by installing fresh j2sdk 1.5 , but still it is giving the same error.
    please guide.

    Hi Jackson,
    Check below links:
    [link1|http://help.sap.com/saphelp_nw70/helpdata/en/47/8ccd1ac8c2500de10000000a421937/frameset.htm]
    [link2|Re: loading jperflib failed() no jperflib in java.library.path;
    [link3|Re: Error installing Dialog Instance ABAP+JAVA;
    Thanks
    Sunny

  • Runtime Error No sapjco3 in java library path.

    Hi All
    i am getting following error when i am trying to test sample sapjco 3 tutorial stepbystepclient.java.
    i have already added sapjco3.jar as external jars as well as in the the project folder as internal jars.
    *java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path*
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.loadLibrary(DefaultJCoRuntime.java:425
         at com.sap.conn.jco.rt.DefaultJCoRuntime.registerNativeMethods(DefaultJCoRuntim
    e.java:293)
         at com.sap.conn.jco.rt.JCoRuntime.registerNatives(JCoRuntime.java:891)
         at com.sap.conn.rfc.driver.CpicDriver.<clinit>(CpicDriver.java:948)
         at com.sap.conn.rfc.engine.DefaultRfcRuntime.getVersion(DefaultRfcRuntime.java:
    41)
         at com.sap.conn.rfc.api.RfcApi.RfcGetVersion(RfcApi.java:253)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:195)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:74)
         at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.sap.conn.jco.JCo.createJCo(JCo.java:51)
         at com.sap.conn.jco.JCo.<clinit>(JCo.java:25)
         at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.
    java:61)
         at src.sampleJCO.step1Connect(sampleJCO.java:84)
         at src.sampleJCO.main(sampleJCO.java:314)
    Exception in thread "main" java.lang.ExceptionInInitializerError: Error getting
    the version of the native layer: java.lang.UnsatisfiedLinkError: com.sap.conn.rf
    c.driver.CpicDriver.nativeCpicGetVersion([I)I
         at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:207)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:74)
         at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.sap.conn.jco.JCo.createJCo(JCo.java:51)
         at com.sap.conn.jco.JCo.<clinit>(JCo.java:25)
         at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.
    java:61)
         at src.sampleJCO.step1Connect(sampleJCO.java:84)
         at src.sampleJCO.main(sampleJCO.java:314)
    I am quite new to java development in SAP.Is it ok to have commonly used application being developed using SAPJCO?
    Regards
    Shankar
    Edited by: Shankar on Sep 16, 2009 5:40 PM

    Hi Shankar,
         Have you dealed with your problems,I can use java throw jco connect to sap rfc,but when i use jsp call the object's method , then report erro as following:
    java.lang.UnsatisfiedLinkError: no sapjco3 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 com.sap.conn.jco.rt.DefaultJCoRuntime.loadLibrary(DefaultJCoRuntime.java:421)
              at com.sap.conn.jco.rt.DefaultJCoRuntime.registerNativeMethods(DefaultJCoRuntime.java:290)
              at com.sap.conn.jco.rt.JCoRuntime.registerNatives(JCoRuntime.java:862)
              at com.sap.conn.rfc.driver.CpicDriver.<clinit>(CpicDriver.java:947)
              at com.sap.conn.rfc.engine.DefaultRfcRuntime.getVersion(DefaultRfcRuntime.java:41)
              at com.sap.conn.rfc.api.RfcApi.RfcGetVersion(RfcApi.java:213)
              at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:186)
              at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:73)
              at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
              at com.sap.conn.jco.rt.RuntimeEnvironment.setDestinationDataProvider(RuntimeEnvironment.java:117)
              at com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(Environment.java:174)
              at omec.com.sap.tools.ERPConnection.<init>(ERPConnection.java:26)
              at omec.com.sap.tools.ERPImpStruct.ConnectERP(ERPImpStruct.java:69)
              at omec.com.servlet.ScancodeServlet.doPost(ScancodeServlet.java:45)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
              at java.lang.Thread.run(Unknown Source)
    Attributes:
    Attributes:
    2013-1-4 10:46:21 org.apache.catalina.core.StandardWrapperValve invoke
    严重: Servlet.service() for servlet ScanServlet threw exception
    java.lang.NoClassDefFoundError: com.sap.conn.rfc.driver.CpicDriver
              at com.sap.conn.rfc.engine.DefaultRfcRuntime.createChannel(DefaultRfcRuntime.java:52)
              at com.sap.conn.rfc.engine.RfcIoOpenCntl.open_channel(RfcIoOpenCntl.java:1260)
              at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcopen(RfcIoControl.java:85)
              at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:83)
              at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1107)
              at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:659)
              at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)
              at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:171)
              at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:44)
              at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:160)
              at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:754)
              at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:615)
              at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:26)
              at omec.com.sap.tools.ERPConnection.<init>(ERPConnection.java:30)
              at omec.com.sap.tools.ERPImpStruct.ConnectERP(ERPImpStruct.java:69)
              at omec.com.servlet.ScancodeServlet.doPost(ScancodeServlet.java:45)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
              at java.lang.Thread.run(Unknown Source)

  • Error: no ProtectorJNI in java.library.path

    I am facing this error and as i am quite new to java i am not sure what error is this. if ProtectorJNI is a library which will be a .jar file and i only have ProtectorJNI.dll inside my Tomcat which is not a library file.The error msg are as follows:
    javax.servlet.ServletException: no ProtectorJNI in java.library.path
         at DocumentAccessFilter.doFilter(DocumentAccessFilter.java:91)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:166)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at DisableCacheFilter.doFilter(DisableCacheFilter.java:42)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:166)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         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:595)

    In JDeveloper Help Topics search for:
    Reference: Connection Requirements for Oracle's Type 2 JDBC Drivers (OCI)
    If that doesn't help solve it also see Oracle Support Note 295859.1

  • Error: no jmvfw in java.library.path

    Hello
    Exception in thread "VFW Request Thread" java.lang.UnsatisfiedLinkError: JMFSecurityManager: java.lang.UnsatisfiedLinkError: no jmvfw in java.library.path
         at com.sun.media.JMFSecurityManager.loadLibrary(JMFSecurityManager.java:206)
         at com.sun.media.protocol.vfw.VFWCapture.<clinit>(VFWCapture.java:19)
         at com.sun.media.protocol.vfw.VFWSourceStream.doConnect(VFWSourceStream.java:241)
         at com.sun.media.protocol.vfw.VFWSourceStream.run(VFWSourceStream.java:763)
         at java.lang.Thread.run(Thread.java:595)I get this error when use jdk1.5.0 but I don't have it when use older JDK...
    Anyone could know why it happens and how to make it working with JDK1.5.0??
    Thx
    Bartek

    SunForumsGuest wrote:
    FYI -- For some reason, on my Win7 x64 machine, if I installed JMF and the option "move dlls to windows/system" directory was checked, those DLLs were never installed on my system.
    If you UNCHECK that during install they will show up in the JMF/lib directory.
    C:\Program Files (x86)\JMF2.1.1e\lib
    Hope it helps. I've been going nuts until I just figured that out.Hello,
    thanks for the tip - I followed your instructions and have the dlls. However, when I try running some code, this error occurs:
    jmvfw.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
    I cannot find dll's compiled for 64-bit on the Internet; has anybody else faced this problem?
    I use Netbeans under Win7.

  • Error: "no jsafe in java.library.path"

    I am getting the following error when Weblogic starts:
    java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
    What does this mean, and how do I fix it?
    I am running WL5.1 on HP-UX11. Thanks!
    Rick Cole
    [email protected]

    try adding
    -Dweblogic.security.SSL.useJava=true
    to your startup script
    Rick Cole wrote:
    I am getting the following error when Weblogic starts:
    java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
    What does this mean, and how do I fix it?
    I am running WL5.1 on HP-UX11. Thanks!
    Rick Cole
    [email protected]
    Please remember to ALWAYS Reference Your Case Number in the subject
    line.
    Ian Kushnir
    Technical Support Engineer - North Sydney
    BEA Systems
    Phone: +61-2-9923 4043
    Mobile: +61-417 889 336 or 0417 889 336
    Fax: +61-2-9923 4080
    Email: [email protected]

  • 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

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

  • HANA Studio installation error: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

    When attempting to add the ADT to HANA Studio I get the error:
    Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path
    Additionally I get something about a possibly missing Microsoft Runtime DLL VS2010.
    When I then attempt to add ABAP Projects I get the error:
    An error has occurred. See error log for more details.
    com/sap/mw/jco3/eclipse/Registry
    I have tried with sites:
    SAP Development Tools for Eclipse - Juno Software Repository
    SAP Development Tools for Eclipse - Kepler Software Repository
    I have been able to install the ADT on Eclipse-Kepler which is running fine.

    I did and on that page the following is stated:
    For Windows OS: DLLs VS2010 for communication with the back-end system is required.
    NOTE: Install either the x86 or the x64 variant, accordingly to your 32- or 64-Bit Eclipse installation.
    This seems exactly to address the issue I am grapling with, but when downloading and trying to install the file I get the message that the current version on my frontend is more recent than the version I am trying to install.
    Is that not strange?

Maybe you are looking for

  • Unable to debug in Eclipse 3.0 with Tomcat5.0

    Hi there, Not sure, if this is the right place for this query. I'm using Tomcat 5.0 as local development server and use Eclipse Platform IDE Version 3.0. For sometime I've been facing this weired problem. When I put a breakpoint in a servlet generate

  • My mozilla firefox is no longer able to load any page; though my internet expoler can laod pages. what is the problem?

    i have a desktop, and have always been able to load pages using mozilla firefox. not it is not possible. however, i am able to load pages on internet explorer...

  • Macbook Pro 13" Sluggishness

    Hello fellow Applers, I've been convinced I was paranoid for a while now, but recently I just can't take it anymore. Please let me know if these are normal specs for a 2011 MBP 13". 4gb DDR3 RAM, 320gb Hitachi HDD 5400rpm 1:34 seconds to power on and

  • I can't insert access application to sharepoint 2013

    When i try to insert access aplication to my sharepoint 2013 site - it start to add but in the middle i get error "Sorry, there was a problem when adding the app. Click to try again" and it doesn't work why? thanks in advanced Limor

  • Can't Install Enhanced USB Host Controller

    I keep getting these popups each time that I load windows xp that its found some new hardware for the USB 2. The hardware is the Universal Serial Bus Controller. However it does mention Intel 82801EB USB 2 Enhanced Host Controller -24DD. I let it sea