Java Mailing List Archive

http://www.junlu.com/

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

Re: TOMCAT and JNI problem...

Giuseppe Briotti

2004-01-26


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



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