Dear all, Please help me with MS DOS.when the errors are so many that they cannot fit in one screen of MS DOS,we can only see the last set of errors. Also we cannot copy-paste from a DOS screen. Please tell me how to copy-paste the complete trace of errors on to a text file so that I can paste it here for advice.
1. "fit on one screen" problem - right click on the upper left corner of a MSDOS console window, there should be selections for properties. You want to increase the "Screen Buffer Size" - I have mine set at 300 lines. 2. "copy from screen" problem - again right click on the upper left corner - pick the edit menu item, then the mark option - you can then select a point on the window with the mouse and drag to highlight an area. Hit enter and you have copied that area to the clipboard. You should also see the select all option and paste options - very useful. Bill
Originally posted by kriti sharma: test.txt is created in the bin folder but is empty. i have tried many times.
Hi kriti sharma, Are you getting a new window after tomcat is started ? then try this, 1. Open "startup.bat" file in bin folder. 2. Search for this line. call "%EXECUTABLE%" start %CMD_LINE_ARGS% 3. Now, replace "start" in this command line with "run". 4. Add "> runtimeOutput.txt" at the end of this command line. So, now it should look like this. call "%EXECUTABLE%" run %CMD_LINE_ARGS% > runtimeOutput.txt 4. Save the file and start tomcat again. You will get all the output on MS-Dos screen in a text file in bin folder of tomcat installation. Cheers Sachin
Its a long-shot, but try this - there is a line at the start of startup.bat @echo off insert REM at the start of that line to read REM @echo off Now all the lines in startup.bat should be echoed to the file. (It occurs to me that the file could be empty because the process is still running. If the output is small, it won't be flushed to the file until the batch process ends.) Bill [ April 15, 2004: Message edited by: William Brogden ]
I don't think you want call "%EXECUTABLE%" run %CMD_LINE_ARGS% > runtimeOutput.txt inside the startup.bat file, instead execute the startup.bat with redirection C:\Servers\Tomcat-4.1.30\bin>startup > runtimeOutput.txt Bill
Hi... I think you are now moving away from your original problem. It is better you download the latest versions of tomcat like Tomcat 5.0.19 and Java1.4.2_04. Moreover, with newer versions of both of these software, the developers are depricating a lot of things and adding newer helpful things. And this deprication is more significant in case of Tomcat, because earlier there were 2 separate groups within Apache working for Tomcat, and now Apache administration has merged both the groups. You can find quite significant difference between Tomcat 4 and Tomcat 5 versions, particularly the way the server provides services, and handles load balancing etc. Hence, it is better to adopt newer versions rather than going with the older versions.