Dear Hassan,

Thank you very much for your reply.

I've found my mistake - a stupid one - I forgot the trailing back slash indicating a continuing line of the command.
And it now all seems to be working.

Thanks again,

Malcolm Warren




Hassan Schroeder ha scritto:
On Sat, May 30, 2009 at 1:54 AM, Malcolm Warren
<malc...@villeinitalia.com> 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  :-)


Reply via email to