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