1 Reply Latest reply on Apr 25, 2007 12:45 PM by peterj

    loadLibrary/JNI in JBoss

    sionut2

      Hi,
      We have an application that's deployed in JBoss as an ear file. In one of the classes we need to make a native call. Everything works on Windows and even on some linuxes (FC6) but on RedHat 4 EL it doesn't.
      When we try to load the library we get an unsatisfied link error. I set the LD_LIBRARY_PATH and I put the library in java.library.path as well, but still no luck.

      Can anybody offer any advice ?

      Thank you !

        • 1. Re: loadLibrary/JNI in JBoss
          peterj

          Have you tried this with a simple stand-alone Java app? If it also has a problem, you might look at the SELinux settings. Usually that is where I go when something that should work for some reason doesn't.