Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 30758 invoked by uid 500); 4 Jun 2001 16:06:42 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 30736 invoked from network); 4 Jun 2001 16:06:38 -0000 Received: from unknown (HELO iivip.com) (64.21.201.11) by h31.sny.collab.net with SMTP; 4 Jun 2001 16:06:38 -0000 Received: from iivip.com by iivip.com with SMTP (MDaemon.v3.5.3.R) for ; Mon, 04 Jun 2001 11:06:22 -0500 Sender: brenda Message-ID: <3B1BA477.67687374@iivip.com> Date: Mon, 04 Jun 2001 11:08:39 -0400 From: Brenda Mijares Reply-To: ETL <"Michael Cohen"> X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: HELP - Servlets on Apache using JNI Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Return-Path: mijaresb@iivip.com X-MDaemon-Deliver-To: tomcat-user@jakarta.apache.org X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I found the following message, yet no reply ... I am having the same problem except I'm running on Linux.. Does anyone know the solution, to make a basic call to a native method from a class called from a servlet??? Do you really need to change the workers.properties file... ************************************************* From: "Michael Cohen (ETL)" Subject: Tomcat + JNI Date: Fri, 17 Nov 2000 16:58:51 +0100 Hi, I have just installed Apache1.3.14 + modssl + tomcat 3.2b5 on Solaris 2.6 and am trying to call a native method from my servlet (this worked fine under JavaWebServer2.0). The shared library is definitely being loaded (ie no exception is thrown when I tried to load it separately, the lib is on the LD_LIBRARY_PATH etc) but "UnsatisfiedLinkError" is still being thrown indicating the implementation of the native method is not found. I havent done anything special to tomcat for JNI, I was a bit baffled by the purpose jni_server.xml and jni_workers.properties files! I only need to call a C program from within a class called by the servlet, don't need to call java methods from the native code. Has anyone come across anything like this? Many thanks, Mike. -- Brenda Mijares Interact Incoporated email:mijaresb@iivip.com phone:512-502-9969 ext. 120