> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: 31 May 2002 14:49 > To: Tomcat Users List > Subject: RE: old <load-on-startup> tag > > > > ok that's help me.. > i have another problem. Tomcat crash probably because i have > a problem with the servlet which is loaded on startup. The > problem is that i can see the trace of the error because the > DOS window is closed automatically. How can i change this behaviour ? > > Patrick
Two options: 1. Open up a DOS window (_DON'T_ double-click on startup.bat). Change directory (CD) to $CATALINA_HOME/bin. Type "catalina run". Tomcat will run as normal, but the DOS window won't disappear when Tomcat crashes. 2. Install Tomcat as an NT service (check the archives - there are numerous posts on how to do this). The messages you'd normally get in the DOS window will now be logged to $CATALINA_HOME/logs/stderr.txt HTH John -- John Niven Please reply through mailing list > Patrick PIERRA > Linedata Services Luxembourg > 00 352 29 56 65 282 > [EMAIL PROTECTED] > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
