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 <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL 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
[EMAIL 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to