Cannot find java virtual machine

1 resposta
R

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 :slight_smile:

O que está errado?
Obrigado.

1 Resposta

R

Em tempo: a minha jvm está em
file:/usr/lib/SUNJava2-1.4.1/bin/java_vm
[]'s

Criado 18 de junho de 2004
Ultima resposta 18 de jun. de 2004
Respostas 1
Participantes 1