Darrell Porter wrote:
>
> In the %TOMCAT_HOME%\bin directory is a file called TOMCAT.BAT
> Searching through the file, you will find a code snippet that looks like
> this:
>
> :startServer
> echo Starting Tomcat in new window
> if "%2" == "-security" goto startSecure
> %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" org.apache.
> tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> goto cleanup
>
> At the line that begins %_STARTJAVA%.... add ">
> %TOMCAT_HOME%\LOGS\TOMSTART.LOG" (without quotes) so that
... and without the newline; i.e.
> %TOMCAT_HOME%\LOGS\TOMSTART.LOG
(note the right angle bracket `>' at the beginning. That's what does
the redirect of the output.)
How does this work with stderr on Windows?
Peter
--
Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"