Java Mailing List Archive

http://www.junlu.com/

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

Re: TOMCAT and JNI problem...

J.Pablo M

2004-01-26


>Did you try to startup Tomcat with the same script, without using your
>library, in order to check if the script works right?

YES.... I start up the tomcat with the same script to test other
applications that doesn't work with JNI and everything goes fine.


Pablo Vidal




>From: Giuseppe Briotti <g.briotti@(protected)>
>Reply-To: "Tomcat Users List" <tomcat-user@(protected)>
>To: tomcat-user@(protected)
>Subject: Re: TOMCAT and JNI problem... Date: Mon, 26 Jan 2004 17:29:02
>+0100 (CET)
>
> > Then I made a script to start the tomcat with the LD_LIBRARY_PATH
> > environment variable set up:
> > -------------------------------------------------------------
> > #!/bin/sh
> > export JAVA_HOME=/opt/java
> > export CATALINA_HOME=/usr/local/jakarta-tomcat
> > export PATH=${JAVA_HOME}/bin:${PATH}
> > export JAVA_PATH=${JAVA_HOME}
> > # path to load the libhtd.so shared library
> > export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/myuser/lib
> >
> > cd /usr/local/jakarta-tomcat/bin
> > sh startup.sh
> > -------------------------------------------------------------
> >
>
>Did you try to startup Tomcat with the same script, without using your
>library, in order to check if the script works right?
>
>Sometimes I had such error when I forgot to set JAVA_HOME or CATALINA_HOME
>properly :-)))
>
>G
>
>--
>
>Giuseppe Briotti
>g.briotti@(protected)
>
>"Alme Sol, curru nitido diem qui
>promis et celas aliusque et idem
>nasceris, possis nihil urbe Roma
>visere maius."
>                 (Orazio)
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>

_________________________________________________________________
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
YupiMSN Compras: http://latam.msn.com/compras/


---------------------------------------------------------------------
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.