I am using Tomcat on hp-ux 10.20 with Java version
("HP-UX Java C.01.18.03 05/12/2000 16:31:36 hkhd02") I am attempting to
use a servlet that instantiates a class that contains JNI methods and I
keep getting java.lang.UnsatisfiedLinkError exceptions when these native methods
are accessed. The JNI methods execute fine from the command line, and
I know that the servlet is loading the shared library. I noticed that
java.math.BigInteger uses native support and I can instantiate this class and
call its native methods with no problem from the servlet. Given that,
I am confident that Tomcat can support this native functionality but I am
bewildered as to why my JNI methods do not work. Your comments would be
greatly appreciated.
Thanks,
Eric.
|