> From: Daniel Wildschut [mailto:[EMAIL PROTECTED] 
> Subject: UnsatisfiedLinkError while using JNI
>
> I then used LD_DEBUG=all to check if the library was indeed loaded.
> There I found that the library was loaded however when JNI searches
> for the necessary function it does not search the newly loaded
library.

This may be a classloader conflict.  What triggers the loading of the
native library?  If this is done under a classloader that's not in the
same branch of the tree that's now making the reference to the native
method, it may not be able to find it.  Look at:
    http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
for Tomcat classloading info.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to