Instalei o Tomcat 4 no Conectiva Linux 9, porém ele não localiza a jvm. Tenho o SDK da IBM e da SUN instalados e o arquivo tomcat4.conf está desta forma:
tomcat /etc/rc.d script example configuration file
Use with version 1.07 of the scripts or later
Use Jpackage utils if present
if [ -x /usr/bin/java-functions ]; then
. /usr/bin/java-functions
set_jvm
fi
Source Java system configuration if exist
if [ -r /etc/java/java.conf ]; then
. /etc/java/java.conf
fi
you could also override JAVA_HOME here
Where your java installation lives
JAVA_HOME="/usr/lib/SunJava2-1.3.1"
JAVA_HOME="/usr/lib/IBMJava2-1.3.1"
You can pass some parameters to java
here if you wish to
JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
Where your tomcat installation lives
That change from previous RPM where TOMCAT_HOME
used to be /var/tomcat.
Now /var/tomcat will be the base for webapps only
CATALINA_HOME="/var/tomcat4"
JASPER_HOME="/var/tomcat4"
CATALINA_TMPDIR="/var/tomcat4/temp"
What user should run tomcat
TOMCAT_USER=“tomcat4”
You can change your tomcat locale here
LANG=en_US
Time to wait in seconds, before killing process
SHUTDOWN_WAIT=30
Set the TOMCAT_PID location
CATALINA_PID=/var/run/tomcat4.pid
If you wish to further customize your tomcat environment,
put your own definitions here
(i.e. LD_LIBRARY_PATH for some jdbc drivers)
Just do not forget to export them
O que está errado?
Obrigado.