case "$1" in
start)
#
# Start Tomcat
#
$DAEMON_HOME/jsvc \
-user $TOMCAT_USER \
-home $JAVA_HOME \
-Dcatalina.home=$CATALINA_HOME \
#-Dcatalina.base=$CATALINA_BASE \
^
Remove the comment ("#") or remove the entire line.
That is it! Thank you!
P
Peiran Song wrote:
> When I tried to start up the Tomcat by:
>
> /etc/init.d/tomcat start
> Got:
>
> 03/03/2006 11:58:21 13126 jsvc error: No class specified
> 03/03/2006 11:58:21 13126 jsvc error: Cannot parse command line arguments
> /etc/init.d/tomcat: -Djava.io.tmpdir=/tmp: no