Java.lang.UnsatisfiedLinkError when loading libaries

Hi,
I coded an ejb, in which I want to call funtionality coming from a dll via JNI.
In order to achieve it I copied the libary 'XXX.dll' to the windows directory system32
and call in my ejb : System.loadLibary("XXX").
The following exception occured:
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: no XXX in java.library.path
Can anybody help me by saying
1) where to put the .dll and what path to set in calling System.loadLibary(...)
3) or even where and how to set the java.libary.path variable (Instance Template via configtool?)
Honour and points are garanteed.
Jens

Hi,
Check This,
File f = new File("C:");
System.out.println(f + " \t" + f.exists());
f = new File(f, "sampleDLL2");
System.out.println(f + " \t" + f.exists());
System.load( f.toString() );
When the library can not be found, you get a java.lang.UnsatisfiedLinkError with the message "no library in java.library.path". To solve this, move the library in one of the directories specified by java.library.path or alter the property so that it points to the directory containing your library. You can print this property with the following code:
1: System.out.println(System.getProperty("java.library.path"));
Another possibility when things do not work is when the DLL can be found, but the methods can not. A DLL exports functions according to specific names an calling conventions. When your compiler is not configured the right way your methods may get anther name than they should be. To solve this, you should include the header file generated by javah and configure your compiler the right way.
Thanks,
gopal

Similar Messages

  • Java.lang.UnsatisfiedLinkError: when called from a jar file

    I have a class that calls a custom dll file. If I dont package the class files and set my system PATH to the location of the DLL then the VM is able to find the dll and load it successfully.
    However, when I package the class files into a jar file, I get "java.lang.UnsatisfiedLinkError: NetworkAdapters" eventhough the system PATH is set to the correct location.
    I have also tried to packaging the dll with the class files but this has not made any difference.
    Library is called from Java as follows:
    static {
    System.loadLibrary("NetworkAdapters");
    When packaged the classes files exist in the following sub directories com\instem\hci\adapters
    Any help appreciated.

    Is it an executable Jar file?
    The the DLL needs to sit in the same folders as the Jar itself.
    (works for us).

  • Java.lang.UnsatisfiedLinkError   when trying create a session to a topic.

    I've tried the Oracle Streams messaging example here:
    http://docs.oracle.com/cd/B28359_01/server.111/b28420/aq_demo.htm#i100786
    But when trying to connect using java and oci I'm getting this
    Exception in thread "main" java.lang.UnsatisfiedLinkError: oracle.jms.AQjmsSession.ociinit([JIIZS)J
    This is the very simple code :
    TopicConnectionFactory factory = (TopicConnectionFactory) oracle.jms.AQjmsFactory.getTopicConnectionFactory("localhost","orcl",1521,"oci8");
    TopicConnection conn = factory.createTopicConnection("strmadmin","strmadmin");
    TopicSession sess = conn.createTopicSession(true, Session.CLIENT_ACKNOWLEDGE);
    What do do ?
    I assume this has something to do with wrong dll being used ..
    The server is 11g 11.2.0.1.0 - 64bit Production and java is 1.6 on Win 7

    Is it an executable Jar file?
    The the DLL needs to sit in the same folders as the Jar itself.
    (works for us).

  • Java.lang.outormemoryError when loading largeimages

    hi
    i am getting java.lang.outofmemoryError while loading big images. can any one help me. if i am loding small image in large number no problem. if i am load big images i am getting error java.lang.outofmemoryerror . how to solve this problem. when should i call system.gc() method if i want to call or is there any other way of loading images when we want to load images.
    thanks in advance.
    balaji.

    hi sabre
    thank you very much . I need some help on how to set java -xmssize. when i am using i am getting the following error:
    Invalid initial heap size: -Xmssize
    Could not create the Java virtual machine. can u help me how to set the heap size.
    thanks in advance.

  • Java.lang.UnsatisfiedLinkError when calling native function

    I got exception as
    java.lang.UnsatisfiedLinkError: no rvjs11 in java.library.path
    Do I need any addtional setting?

    You need to make sure that the native library is in your "dynamic
    library search path". You typically set this using an environment
    variable (e.g., PATH on Windows, LD_LIBRARY_PATH on most Unix variants
    except HP-UX and AIX, SHLIB_PATH on HP-UX, or LIBPATH on AIX).
    Hope this helps,
    Robert
    Eric Shen wrote:
    I got exception as
    java.lang.UnsatisfiedLinkError: no rvjs11 in java.library.path
    Do I need any addtional setting?

  • Java.lang.SecurityException when loading javax.activation.MimeType

    Hi all,
    I'm having this problem when trying to call a WebService in my Server;
    java.lang.SecurityException: class "javax.activation.MimeType"'s signer information does not match signer information of other classes in the same package     
    at java.lang.ClassLoader.checkCerts(ClassLoader.java(Compiled Code))
    at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
    at java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled Code))
    at java.net.URLClassLoader.access$500(URLClassLoader.java(Inlined Compiled Code))
    at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
    at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compiled Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at org.apache.soap.rpc.SOAPContext.addBodyPart(SOAPContext.java:344)
    at org.apache.soap.rpc.SOAPContext.setRootPart(SOAPContext.java:403)
    at org.apache.soap.rpc.SOAPContext.setRootPart(SOAPContext.java:442)
    at org.apache.soap.rpc.SOAPContext.setRootPart(SOAPContext.java:417)
    at org.apache.soap.transport.TransportMessage.save(TransportMessage.java:351)
    at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:713)
    at org.apache.soap.rpc.Call.invoke(Call.java:261)
    It seems to work in my local machine (running on JDeveloper10G embedded server), but i cannot make it work in production server (version 10.1.2.0.2) ...
    Any idea of what is going wrong? I know what the error means, but i don't know why it is raising.

    I've tried the webservice standalone (without a servlet frontend) and it seems to work, so i'll post this in the servlets forum.
    Thanks.

  • "java.lang.UnsatisfiedLinkError" happen when I use java.exe in command line

    When I use Eclipse 3.01 to run the program it has any problem.But If I use the command line "java -classpath D:\Java_prj\Java\NativeMethod\out com.bruce.nativemethod.HelloNative",a error message will appear below:
    java.lang.UnsatisfiedLinkError: no ./out/com/bruce/nativemethod/ 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 com.bruce.nativemethod.HelloNative.<clinit>(HelloNative.java:21)My HelloNative.dll and HelloNative.class has all been putted in D:\Java_prj\Java\NativeMethod\out\com\bruce\nativemethod.
    My all source code is here:
    //HelloNative.java
    package com.bruce.nativemethod;
    import java.util.*;
    public class HelloNative{
         public static native void greeting();
         //Load the library
         static {
              System.loadLibrary("./out/com/bruce/nativemethod/HelloNative");
              //System.loadLibrary("HelloNative");
         public static void main(String args[]) {
              HelloNative.greeting();
    //HelloNative.c
    #include "HelloNative.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL Java_com_bruce_nativemethod_HelloNative_greeting(JNIEnv* env,
        jclass cl)
        printf("Hello world!\n");
    //HelloNative.h
    //Generated by javah.exe
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class HelloNative */
    #ifndef _Included_HelloNative
    #define _Included_HelloNative
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     HelloNative
    * Method:    greeting
    * Signature: ()V
    JNIEXPORT void JNICALL Java_HelloNative_greeting
      (JNIEnv *, jclass);
    #ifdef __cplusplus
    #endif
    #endifI thinked the code is not problem.But why I can't not run it use java.exe tool in command line?

    Thanks everybody! My problem has been solved.The path "./out/com/bruce/nativemethod/HelloNative" is right because it can run in Eclipse 3.01.I don't agree use the absolute path.If do so,it may not use in another machine. The problem is when I use the "java -classpath D:\Java_prj\Java\NativeMethod com.bruce.nativemethod.HelloNative" in the command line windows,I have putted it the C:\ directory to excute.laterly,I putted the command in the D:\Java_prj\Java\NativeMethod,the result "Hello world!" is appear.

  • DBCA fails with java.lang.UnsatisfiedLinkError: Can't load library: /u01/oracle/prod/tech_st/product/11.2.0/db_1/oui/lib/linux/liboraInstaller.so Error in Oracle 11g

    Hi,
    After ORACLE 11G software installation i tried to change the ORACLE_HOME directory.
    OS : RHEL 4.5
    DB : 11.2.0
    Previous Home Location :
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/oracle/prod/tech_st/product/11.2.0/db_1
    Current Home Loc:
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/oracle/db/tech_st/product/11.2.0/db_1
    When i am trying the DBCA command i am getting the below error:
    [oracle@localhost ~]$ dbca
    java.lang.UnsatisfiedLinkError: Can't load library: /u01/oracle/prod/tech_st/product/11.2.0/db_1/oui/lib/linux/liboraInstaller.so
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
            at java.lang.Runtime.load0(Runtime.java:769)
            at java.lang.System.load(System.java:968)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
            at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
            at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
            at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
            at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
            at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
            at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
            at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
            at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
            at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
            at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
            at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
            at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:993)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:405)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
            at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
            at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
            at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
            at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
            at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
            at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
            at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
            at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
            at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
            at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
            at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
            at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
    [oracle@localhost ~]$
    I tried all possible ways with google help but still i am facing the same issue.Kindly check and suggest to solve the issue.
    Thanks in advance.
    Vijay.

    Hi all,
    I give you the clear details about the issue what i am currently facing,
    1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
    2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
    3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
    4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
    5. But when i am trying to create one more db using DBCA utility it is through the above error.
    Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
    Thanks.

  • Error loading win32com: java.lang.UnsatisfiedLinkError: no win32com in java

    Hi all
    I am getting this error
    "Error loading win32com: java.lang.UnsatisfiedLinkError: no win32com in java.library.path"
    while running my program.
    Please suggest me any solution for this
    Thanks
    Balasubramaniam

    OK...here's what I did.
    Assumptions: The javacomm20-win32.zip extracted into c:\work\commapi. JDeveloper was extracted into c:\jdev902.
    Step 1: copy c:\work\commapi\win32com.dll c:\jdev902\jdk\bin\win32com.dll
    Step 2: copy c:\work\commapi\comm.jar c:\jdev902\jdk\lib\comm.jar
    Step 3: copy c:\work\commapi\javax.comm.properties c:\jdev902\jdk\lib\javax.comm.properties
    Result: Compilition in JDeveloper is OK but at runtime "Error loading win32com: java.lang.UnsatisfiedLinkError: no win32com in java.library.path"
    Maybe the JRE is running the show...
    Step 4: copy c:\work\commapi\win32com.dll c:\jdev902\jdk\jre\bin\win32com.dll
    Step 5: copy c:\work\commapi\comm.jar c:\jdev902\jdk\jre\lib\ext\comm.jar
    Step 6: copy c:\work\commapi\javax.comm.properties c:\jdev902\jdk\jre\lib\javax.comm.properties
    This both compiles and works at runtime but I'm confused. The Messages buffer in JDeveloper suggests that the JDK alone is running the show:
    C:\jdev902\jdk\bin\javaw.exe -ojvm -XXdebug,quiet,port1381 -classpath C:\work\WorkspaceApplet\JavaXCommTest\classes;C:\jdev902\jdev\lib\jdev-rt.jar;C:\jdev902\jdk\lib\comm.jar gov.seattle.scl.cams.serial.RekPortTest
    Debugger attempting to connect to local process.
    but when you get down to it somehow jdk\jre is playing the game too.
    Any explanations?

  • Java.lang.UnsatisfiedLinkError: Can't load library: /

    Hello
    I downloaded the 32 bit JRE 5 for powerpc evaluation copy. When i try to execute the sample awt program using java.awt.headless=false. I'm getting following error.
    java -Djava.awt.headless=false AWTExample
    Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /
    mnt/usb/jre1.5.0_10/lib/ppc/xawt/libmawt.so
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:993)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
    at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
    at java.awt.Component.<clinit>(Component.java:545)
    please letme know where can i get ppc/xawt/libmawt.so.
    Is there any alternate solution for it. Please help me in this regard.
    Thanks and Regards
    Murali Krishna

    Hi all,
    I give you the clear details about the issue what i am currently facing,
    1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
    2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
    3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
    4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
    5. But when i am trying to create one more db using DBCA utility it is through the above error.
    Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
    Thanks.

  • Error loading SolarisSerial: java.lang.UnsatisfiedLinkError:

    Hello All, i am having problems installin the java comm api in Eclipse. I added the comm.jar file from the comm api folder in the build path. and i added the javax.comm.properties file in:
    C:\Program Files\Java\jre1.6.0_01\lib
    but when i compile it and run, i get the following error:
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.comm.SunrayInfo.isSessionActive()Z
         at com.sun.comm.SunrayInfo.isSessionActive(Native Method)
         at com.sun.comm.Portmapping.registerCommPorts(Portmapping.java:155)
         at com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100)
         at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
         at ListOpenPorts.<init>(ListOpenPorts.java:17)
         at ListOpenPorts.main(ListOpenPorts.java:49)
    where did i go wrong? :/

    jschell wrote:
    Is it becuz i m using DELL laptop?Running solaris and not windows? The exception would certainly seem to suggest that you are running solaris.
    Thanx alot jschell :D Tht Solaris and Windows prob clicked! I revised all the installation procedure again, and installed Generic windows comm.jar file [for back end]and then the RxTxcomm.jar [for front end] and then in the configure build path [m Using Eclipse for my code] , i expanded the RxTxcomm.jar node, and added the path in the Native Library to:
    C:\Users\Urooj\Desktop\rxtx-2.2pre2-bins\win32\rxtxSerial.dll
    and instead of
    import javax.comm.CommPort;
    import javax.comm.CommPortIdentifier;
    import javax.comm.PortInUseException:D
    i replaced this with:
    import java.util.Enumeration;
    import gnu.io.CommPortIdentifier;
    import gnu.io.CommPort;
    import gnu.io.PortInUseException;Edited by: java-ized on Jan 5, 2010 3:49 PM

  • Standby.wrf error Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAF.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform

    Hi,
    I have created a single tile and getting below error in standby0.wrf file.
    As mentioned in doc, I made a windows 32 bit for standby VM and installed 32 bit staf followed by staf configurations.I installed all the critical updates for windows.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAF.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:306)
    at IdleVMTest.main(IdleVMTest.java:30)
    I am attaching my test log.
    please let me know how to fix it.
    Thanks,
    Suresh

    Rebecca,
    I appreciate your quick response.
    I am running the test from Primeclient. I am planning to add more tiles once tile0 runs fine. Client0 runs separately.Forgot to mention this in last update.
    I assume prime client generates all wrf files. when other VM's .wrf files are generated fine, will it be still primeclient side error??
    Primeclient is windows 2008 sp2 64bit. Initially I installed 32 bit java and ended up problem while starting the  VMmark2-STAX.bat. When i installed the 64bit java, problem vanished. I assume java version is correct.
    Similary initially i installed a cygwin 64 bit but i got error like "Error VMmarkRMQmgr unable to clear  queues". So uninstalled it and installed a cygwin 32 bit and the problem vanished.
    I am seeing the standby VM is relocated fine during the test. it is just it is not capturing the data in .wrf file. Standby VM configure section does not talk about java installation. is there anything else i am missing it?
    I would like to know whether  below error talks about standby VM because standby VM is 32 bit other side primeclient is 64 bit. below error says on a IA 32-bit platform.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAF.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
    Below image u can see java variables are set. Is there anything wrong??
    Thanks,
    Suresh

  • I am getting a "java.lang.RuntimeException: Error loading file:....NULL content-length." message when attempting to load a jnlp file

    I am the applications administrator for an instance of Galaxy server. In Galaxy there is an option / plugin to opne a BAM file via the Integrative Genomics Viewer (IGV) created at the Broad Institute. When invoked it downloads a jnlp file and launches IGV and then is supposed to open the BAM file in the viewer. However, when it attempts to open the BAM file I get the following error:
    "An Error occurred while loading: http://galaxy/display_application/52cef830ad5766ca/igv_bam/web/29212308ff643a94/data/galaxy_52cef830ad5766ca.bam
    java.lang.RuntimeException: Error loading file: http://galaxy/display_application/52cef830ad5766ca/igv_bam/web/29212308ff643a94/data/galaxy_52cef830ad5766ca.bam NULL content-length."

    UPDATE
    Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
    Thanks.
    Fede.

  • Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.boots

    When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
    ERROR
    Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
    STEPS
    The issue can be reproduced at will with the following steps:
    1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
    2) Created dnd.param file in SIebel server SDQCOnnector folder.
    3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
    3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
    4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
    5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
    6) Configured the Siebel components for EDQ integration.
    7) Realtime EDQ jobs are running.
    8) Create a new Account
    Env details are
    On : 8.2.2.14 [IP2014] version, Client Functionality
    EDQ 11.1.1.7.4
    IBM JDK 1.7 32 bit
    Using Open UI
    Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
    Regards
    Monoj Dey
    9007554589

    Hi Monoj,
    A few questions:
    - What OS is Siebel running on?
    - What version of the Siebel connector are you using?
    - Which libdnd.so file are you using?
    - What's the contents of your dnd.parms file?
    thanks,
    Nick

  • Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no Linux

    Trying to start demo from Sun commapi:
    $ java SimpleRead
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no LinuxSerialParallel in java.library.path
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at SimpleRead.main(SimpleRead.java:67)
    Caused by: java.lang.NullPointerException
    at javax.comm.CommPortIdentifier.findConfFile(CommPortIdentifier.java:199)
    at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:117)
    ... 1 more
    What does it need?
    java version "1.5.0_04" on Linux 2.6.10-1.770_FC2smp

    hey i have the exact same problem, this is the error:
    # java BlackBox
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no LinuxSerialParallel in java.library.path
    Exception in thread "main" java.lang.UnsatisfiedLinkError: isDevLink
    at com.sun.comm.Unix.isDevLink(Native Method)
    at com.sun.comm.PathBundle.add(PathBundle.java:108)
    at com.sun.comm.PlatformPortBundle.<init>(PlatformPortBundle.java:44)
    at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
    at BlackBox.main(BlackBox.java:223)
    what can i do?
    P.D: i also hate this fvasldkfmnlds API, but i need it

Maybe you are looking for

  • Background processing

    hi all!!!!!!!   i have made one ALV report , with one pushbutton on application toolbar , whenever tht is clicked , PAI event is triggered and another LIST is displayed .   This is performing as required . Now user wants , whenevr report is being exe

  • IPhone Gen 1 - Bottom Multi-Touch non-responsive

    My phone is out of warranty as of July 2nd, 2008. Google this issue about the bottom half of the iHone not working and this is a KNOWN MANUFACTURE defect but Apple wants $199 to replace with like model of Gen 1 iPhone. If I want to spend the same mon

  • Cannot transfer information from imac to Macbook -- please help me! :-)

    Hi. I recently got a MacBook and am trying to transfer information from my G3 imac to the MacBook. When I set up the MacBook, I used the Setup Assistant, hooked up the 2 computers with a firewire cable and selected to transfer information from my ima

  • HT201071 Please update Digital Camera RAW Compatibility to include Pentax K-3 !!!

    I'm using the Adobe converter, but this means I have to convert files, store them and then delete them... what alot of work!  I'm enjoying Aperture, but need RAW support!  The K-3 has already been out for a number of months. Any news on an update! 

  • Safari sqlite crashes

    It's started somewhere couple of weeks ago. Safari crashes right after I open any web page. Most of the time it crashes in sqlite Thread 2 Crashed: 0 libSystem.B.dylib 0xffff0f38 __memcpy + 1944 (cpu_capabilities.h:246) 1 libsqlite3.0.dylib 0x93a8465