Tomcat 6 相关问题
1、和以往版本不同,不可直接把webapps目录下所有目录都删掉
可以 a、保留host-manager和manager这2个项目
或者 b、删除\tomcat6\conf\Catalina\localhost\host-manager.xml和manager.xml
2、在linux下,进入tomcat/bin, 执行 ./catalina.sh run 可以看到控制台窗口
执行 ./catalina.sh stop 关闭
如果直接执行 ./startup.sh,则所有log都会输出到 tomcat/logs目录下,无控制台窗口
catalina.sh [para]
para:
debug start Catalina in a debugger
debug -security debug catalina with a security manager.
run start Catalina in the current window.
run -security start Catalina in the current window with security manager.
start start Catalina in the separate window
start -security start Catalina in the separate window with security manager.
stop stop catalina.
stop -force stop catalina (followed by kill -KILL).
version version of tomcat