tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kintzer, Michael" <>
Subject RE: RE: Tomcat and JNI
Date Thu, 07 Dec 2000 23:36:35 GMT
Is the jni_connect.dll required for accessing native code from a servlet?
I'm having the UnsatisfiedLinkError problem that you have mentioned
I'm running on Win2K, with Tomcat 3.2.  On a related note, what is
jni_server.xml needed for?  
Thanks for any assistance,
Michael Kintzer

-----Original Message-----
From: Eric Lee (LYN) (EUS) []
Sent: Thursday, December 07, 2000 10:08 AM
To: ''
Subject: RE: RE: Tomcat and JNI

The solution to this problem was to add the location of the class that
contains the native methods to the CLASSPATH prior to launching Tomcat.


-----Original Message----- 
From: Niall Gormley [
<> ] 
Sent: Wednesday, December 06, 2000 12:23 PM 
Subject: Re: RE: Tomcat and JNI 


I have just finished integrating a large amount of  'C' code into servlets
using JNI. 
One useful tool I used was trace (or truss on Solaris, there is a eqivalent
on HP but I can't 
remember what is is.) This traces all the system calls and you shoud see
that library it is 
trying to load when your code fails. 

In addition is all your C code compilied with the -pthread option? 


Additions and Corrections welcome. 


Get your free E-mail at <>  

View raw message