I download Tomcat zip distribution. Unzip it and configure it using the setenv.bat script as advised. The content of the setenv.bat is as follows:
@echo off
set CATALINA_HOME=D:\tomcat7_inst_8543\tomcat7062
set CATALINA_BASE=D:\tomcat7_inst_8543\tomcat7062
set JAVA_HOME=D:\tomcat7_inst_8543\jdk17051
set JRE_HOME=%JAVA_HOME%\jre
set JAVA_OPTS=-Xms512m -Xmx1024m
I deploy an war application by copying the war file under the webapps directory. Start up the Tomcat server. The war application executes as expected. However, I cannot find the tomcat7-stderr.log and the tomcat7-stdout.log when exceptions occur inside the war application.
(If the Tomcat Windows Service distribution is installed and the same war is deployed on it, the tomcat7-stderr.log and the tomcat7-stdout.log appear in the tomcat/logs directory.)
I don't know why the tomcat7-stderr.log and the tomcat7-stdout.log are not created in standalone Tomcat server as described above.
Can anyone help?