Linux启动时可以看到打印控制台的信息

先cd到tomcat的安装目录的bin目录下,然后这样启动tomcat:
$ ./catalina.sh run
就可以了。
debug模式:
$ ./catalina.sh debug
......
help (查看帮助)
exit(退出、终止tomcat)

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
展开阅读全文

没有更多推荐了,返回首页