You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nicolas Roux <n....@nat.fr> on 2000/11/08 11:52:52 UTC

JNI misconfiguration

Hello,
I'm using Tomcat 3.1 with Apache 1.3.9 on a Redhat Linux 6.1.

I'm trying to use a servlet which calls a C library file. As for a java
class, I'm using JNI, but when I call the servlet, the server answers
"java.lang.UnsatisfiedLinkError: displayHelloWorld". displayHelloWorld
is the native method's name.
My current configuration is :

    - a .so file placed in /usr/lib and the directory is declared into
the $LD_LIBRARY_PATH
    - a .class placed into my default context (I mean with other
servlets)

thanks for any help

Nicolas Roux