We have a need to access c code in a shared object (some_file.so which is found in the LD_LIBRARY_PATH). I have a java class that is accessing via jni so I have two native function calls in the class.
I wrote a stand-alone java application that uses the same class, making both jni function calls and this works without errors.
I then incorporated the class into a web application and am running into linking errors.
I receive java.lang.UnsatisfiedLinkError when I call the Java function that is implemented in c.
Is there anybody out there that has incorporated shared objects into their web applications using jni? If so, is there anything special that needs to be done?
Java version: 1.4.2_04
OS-System: SunOS 5.8, sparc
JBoss version: jboss-3.2.6RC2
I've changed the different classloader options in the jboss-service.xml wondering if that did anything but no.
Thanks for ANY help that you can give, this is driving me crazy.