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]

Reply via email to