tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kintzer, Michael" <mkint...@audiotrack.com>
Subject RE: RE: Tomcat and JNI
Date Thu, 07 Dec 2000 23:36:35 GMT
Eric:
 
Is the jni_connect.dll required for accessing native code from a servlet?
I'm having the UnsatisfiedLinkError problem that you have mentioned
previously.
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) [mailto:EUSERIL@am1.ericsson.se]
Sent: Thursday, December 07, 2000 10:08 AM
To: 'tomcat-user@jakarta.apache.org'
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.

Eric. 

-----Original Message----- 
From: Niall Gormley [ mailto:ngormley@ireland.com
<mailto:ngormley@ireland.com> ] 
Sent: Wednesday, December 06, 2000 12:23 PM 
To: tomcat-user@jakarta.apache.org 
Subject: Re: RE: Tomcat and JNI 


Eric, 

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? 

Regards, 
Niall 

Additions and Corrections welcome. 

_____________________________________ 

Get your free E-mail at http://www.ireland.com <http://www.ireland.com>  


Mime
View raw message