Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: JNI and TOMCAT problem

Dirk Griesbach

2004-01-09

Replies:

Hi,

is it really TC crashing or is it the JVM ? Have a look into your
logfiles. Using native libraries it's likely that your native code is
crashing the JVM.

grisi
----- Original Message -----
From: J.Pablo M <muneto10@(protected)>
To: <tomcat-user@(protected)>
Sent: Thursday, January 08, 2004 10:57 PM
Subject: JNI and TOMCAT problem


> Hi.
>
> I'm runnin a JSP based Web aplicacion wich uses a Java Class that loads
a
> native library (JNI). This Class is placed in a jar file at /common/lib/
> The .so file is placed inside the jdk at /JAVA_HOME/jre/lib/i386/
> I sucesfully build and test a standalone application for the use of the
> JNI.
> When I invoke the method located in the jar file that uses the .so from
the
> JSP with Tomcat , the Tomcat CRASH.
> I dont know if must keep the .so file placed at the jdk directory
mencioned
> above, otherwise... WHERE shoud I place the .so file ??
>
> J. Pablo
>
> _________________________________________________________________
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.