I've been through almost all of the tomcat-user archives, faqs and 
documentation, but still I can not make a simple JNI call from a JSP.

The problem, as I found in most of the archives is an 
java.lang.UnsatisfiedLinkError exception.

Here are some details.

1. Windows 2000, JDK1.3.1, Tomcat 3.2.1

2. The library is in the WinNT folder (which is in the PATH env var)

3. The library works perfectly from a standalone Java app

4. The library is loading correctly (from the JSP). It can not be deleted 
once loaded, and no errors are reported upon loading thus I assume the 
library is loaded.

5. Once a call is made to the library, an java.lang.UnsatisfiedLinkError is 
generated.

6. The library is in a path specified in the java.library.path

Archived articles suggest the function prototype/signature in the lirbary 
(DLL) does not match the class file.  This is simply not so as it works 
perfectly from a standalone Java app, without moving/recompiling any files.

Any suggestions would be warmly welcomed.

Regards

-- Brian



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to