On Sat, May 30, 2009 at 1:54 AM, Malcolm Warren
<[email protected]> wrote:
> The tomcat daemon is started like this:
>
> $DAEMON -user "$TOMCAT6_USER" -cp "$JSVC_CLASSPATH" \
> -outfile SYSLOG -errfile SYSLOG \
> But if I try to change the -outfile and -errfile parameters tomcat doesn't
> start and I get a message saying:
> "No class specified
> Cannot parse command line arguments"
>
> I've tried ...
> -outfile ./logs/catalina.out -errfile ./logs/catalina.err
That should be fine; one of my installations starts like:
$CATALINA_HOME/bin/jsvc -user tomcat \
-cp ./bin/bootstrap.jar \
-outfile ./logs/catalina.out \
-errfile ./logs/catalina.err \
-pidfile /var/run/tomcat.pid \
Are you using a standard or third-party repackaged Tomcat? If the
latter, all bets are off :-)
--
Hassan Schroeder ------------------------ [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]