Title: RE: RE: Tomcat and JNI
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:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 10:08 AM
To: '[EMAIL PROTECTED]'
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:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 12:23 PM
To: [EMAIL PROTECTED]
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

Reply via email to