tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amos Shapira <amos.shap...@webcollage.com>
Subject RE: JNI & Tomcat
Date Tue, 25 Jul 2000 17:17:44 GMT
Hmm, how do you expect Tomcat to find the .so? (I assume this is
UNIX).

At least on Windows 2000, the .DLL files must be on the PATH
in order to be found by JNI, I think for Solaris it is enough for them to
be on LD_LIBRARYPATH (or somesuch).

Hope this helps,

--Amos Shapira
WebCollage

> -----Original Message-----
> From: Thomas Bilz [mailto:thomas.bilz@xplain.de]
> Sent: Tuesday, July 25, 2000 6:12 PM
> To: tomcat-user@jakarta.apache.org
> Subject: JNI & Tomcat
> 
> 
> Yesterday I installed Tomcat and most things seem to work, 
> but I have a
> problem with JNI in an old Servlet that ran on JServ before.
> I have a shared library, which is loaded, and I have a 
> wrapper-class for it.
> But I can't use this wrapper: every access to my servlet ends with a
> java.lang.UnsatisfiedLinkError.
> -------------
> Error: 500
> Location: servlet/de.rechentools.servlets.Barwert
> Internal Servlet Error:
> 
> java.lang.UnsatisfiedLinkError: compute
> 	at 
> de.xplain.GenericCalculator.Calculator.computeInternal(Compiled Code)
> 	at de.xplain.GenericCalculator.Calculator.compute(Compiled Code)
> 	at
> de.xplain.GenericCalculator.Calculators.BarwertCalculator.comp
> ute(Compiled
> Code)
> 	at 
> de.rechentools.servlets.Barwert.createReplaceList(Compiled Code)
> 	at 
> de.xplain.GenericServlets.RechenModulServlet.doGet(Compiled Code)
> 	at 
> de.xplain.GenericServlets.RechenModulServlet.doPost(Compiled Code)
> 	at javax.servlet.http.HttpServlet.service(Compiled Code)
> 	at javax.servlet.http.HttpServlet.service(Compiled Code)
> 	at 
> org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
> 	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
> 	at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.pro
> cessConnection
> (Compiled Code)
> 	at 
> org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
> 	at java.lang.Thread.run(Compiled Code)
> ---------------
> Can anyone imagine why I got this nice error?
> 
> THX, Tom
> 
> 
>             XPLAIN GmbH
> -----------------------------------------
>            Studio fuer interaktive Medien
>            Burgstrasse 25
>            D-50321 Bruehl
>            Fon + 2232.1524.0, Fax .79
>            www.xplain.de
>            thomas.bilz@xplain.de
> 
> 
> 

Mime
View raw message