概述
[root@izbp12lwa6tfbwzlstx8r9z bin]# sh shutdown.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
[root@izbp12lwa6tfbwzlstx8r9z bin]# sh startup.up
sh: startup.up: No such file or directory
[root@izbp12lwa6tfbwzlstx8r9z bin]# sh startup.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
[root@izbp12lwa6tfbwzlstx8r9z bin]# netstat -anutp|grep 6111
tcp 0 0 0.0.0.0:6111 0.0.0.0:* LISTEN 19823/java
[root@izbp12lwa6tfbwzlstx8r9z bin]# kill -9 19823
[root@izbp12lwa6tfbwzlstx8r9z bin]# netstat -anutp|
> ^C
[root@izbp12lwa6tfbwzlstx8r9z bin]# netstat -anutp|grep 8080
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 20016/java
[root@izbp12lwa6tfbwzlstx8r9z bin]# kill -9 20016
[root@izbp12lwa6tfbwzlstx8r9z bin]# sh startup.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
[root@izbp12lwa6tfbwzlstx8r9z bin]# cd ../logs
[root@izbp12lwa6tfbwzlstx8r9z logs]# tail -f catlina.out
最后
以上就是活泼台灯为你收集整理的centos tomcat 日志监听的全部内容,希望文章能够帮你解决centos tomcat 日志监听所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复