java "-server" is the switch you need, not "-jvm server"
Peter Neu wrote:
Hello,
is this question better asked in the dev mailing list or where should I ask?
Cheers,
Pete
-----Ursprüngliche Nachricht-----
Von: Peter Neu [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Februar 2007 08:01
An: 'Tomcat Users List'
Betreff: AW: Cannot run JVM in server mode with JSVC
Hello,
can somebody please help don't know how to solve this.
Cheers,
Pete
-----Ursprüngliche Nachricht-----
Von: Peter Neu [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 27. Februar 2007 12:43
An: users@tomcat.apache.org
Betreff: Cannot run JVM in server mode with JSVC
Hello,
I need to run the JVM in server mode but jsvc does not switch to the
server
mode despite the configuration below.
There aren't even any error messages. Can somebody please tell me what's
wrong?
Cheers,
Pete
JAVA_HOME1=/usr/local/jdk1.5.0_06
CATALINA_HOME=/usr/local/jakarta-tomcat-5.5.9
DAEMON_BIN=/usr/local/jakarta-tomcat-5.5.9/bin/jsvc
TOMCAT_USER=loew
TMP_DIR=/var/tmp
CATALINA_OPTS="-Xmx1900m -Xms256m -XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m -Dcom.sun.management.jmxremote "
CLASSPATH=/usr/local/jdk1.5.0_06/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar
case "$1" in
start)
#
# Start Tomcat
#
$DAEMON_BIN \
-user $TOMCAT_USER \
-home $JAVA_HOME1 \
-Dcatalina.home=$CATALINA_HOME \
-Djava.io.tmpdir=$TMP_DIR \
-outfile $CATALINA_HOME/logs/catalina.out \
-errfile '&1' \
$CATALINA_OPTS \
-cp $CLASSPATH \
org.apache.catalina.startup.Bootstrap \
-jvm server \
#
# To get a verbose JVM
# -verbose \
# To get a debug of jsvc.
#-debug \
;;
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]