Sorry, couldn't get back to this as I had a week off. I set jsvc to debug mode. The problem was: the search path for jvm.cfg was here : .../jdk1.5.0_06/jre/lib/jvm.cfg while the actual file resided here: .../jdk1.5.0_06/jre/lib/i386/jvm.cfg.
What I did I just copied the jvm.cfg to the search path and everything went all right. ;o) Thanks for the help! Cheers, Pete > -----Ursprüngliche Nachricht----- > Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Bill Barker > Gesendet: Samstag, 3. März 2007 04:35 > An: users@tomcat.apache.org > Betreff: Re: AW: AW: Cannot run JVM in server mode with JSVC > > The correct syntax is '-jvm server' (assuming that you are using Sun's > JVM). > The last error you posted from trying this was because you forgot to > escape > the CR at the end (no '\' at the end of the line). As a result, the shell > took the next argument line as the next command line. > > To get a better idea what is going wrong, try running it with server, and > with '-debug'. If this doesn't help you, you can always post the output > to > this list, and somebody else might see what the problem is. > > <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > By config you still mean the shell script, right? > > > > It looks like this. I have removed the -server parameter from > > the CATALINA_OPTS variable since the script won't execute > > properly with it. > > > > -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 > > JAVA_OPTS="-server" > > CATALINA_OPTS="-Xmx1900m -Xms256m -XX:MaxPermSize=256m - > XX:ReservedCodeCacheSize=64m > > - > > CLASSPATH=/usr/local/jdk1.5.0_06/lib/tools.jar:\ > > $CATALINA_HOME/bin/commons-daemon.jar:\ > > $CATALINA_HOME/bin/bootstrap.jar > > #JVM=server > > > > 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 \ > > # > > # To get a verbose JVM > > # -verbBose \ > > # To get a debug of jsvc. > > #-debug \ > > ;; > > > > -- > > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten > > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser > > > > --------------------------------------------------------------------- > > 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]