s*********n 发帖数: 38 | 1 I have setup a tomcat server. When I run it in Windows 2K, there were some
information about the status of the server on the DOS prompt. Once the server
crashes, the DOS is just gone :(
How to save this screendump to a log file? I need this screendump for debuging
purpose.
Thanks! |
f********h 发帖数: 149 | 2 use start tomcat, I think the console will stay there.
【在 s*********n 的大作中提到】 : I have setup a tomcat server. When I run it in Windows 2K, there were some : information about the status of the server on the DOS prompt. Once the server : crashes, the DOS is just gone :( : How to save this screendump to a log file? I need this screendump for debuging : purpose. : Thanks!
|
e***g 发帖数: 158 | 3 tomcat start/run/debug/...
【在 s*********n 的大作中提到】 : I have setup a tomcat server. When I run it in Windows 2K, there were some : information about the status of the server on the DOS prompt. Once the server : crashes, the DOS is just gone :( : How to save this screendump to a log file? I need this screendump for debuging : purpose. : Thanks!
|
s*********n 发帖数: 38 | 4 this seems not work ...
when I type any of teh three commands, the response was only a blank line.
??
server
debuging
【在 e***g 的大作中提到】 : tomcat start/run/debug/...
|
h******b 发帖数: 312 | 5 I think use run instead of start will not spawn a new window, try it.
some
【在 s*********n 的大作中提到】 : this seems not work ... : when I type any of teh three commands, the response was only a blank line. : ?? : : server : debuging
|
m******t 发帖数: 2416 | 6
server
debuging
Doesn't tomcat use log4j? I remember the out of box config is whatever gets
printed
to the console is also sent to a file logger.
【在 s*********n 的大作中提到】 : I have setup a tomcat server. When I run it in Windows 2K, there were some : information about the status of the server on the DOS prompt. Once the server : crashes, the DOS is just gone :( : How to save this screendump to a log file? I need this screendump for debuging : purpose. : Thanks!
|
c*****s 发帖数: 214 | 7 Tomcat is nothing but a java programm. Use basic way to startup tomcat.
java -cp="bin/bootstrap.jar" org.apache.catalina.startup.Bootstrap
-Dcatalina.home="" start
append " > mylog.txt" to dump the information to your a log file
server
debuging
【在 s*********n 的大作中提到】 : I have setup a tomcat server. When I run it in Windows 2K, there were some : information about the status of the server on the DOS prompt. Once the server : crashes, the DOS is just gone :( : How to save this screendump to a log file? I need this screendump for debuging : purpose. : Thanks!
|