当前位置: 代码迷 >> 综合 >> 运维笔记
  详细解决方案

运维笔记

热度:10   发布时间:2024-02-22 21:06:59.0

1.检查后台tomcat是否开启了重复进程

ps -f |grep tomcat

执行结果:

dgztc    28908 28737  0 09:27 pts/1    00:00:00 grep tomcat

关闭重复进程

kill -9 28908

2.开启和关闭tomcat

  bin/startup.sh #启动tomcat

  bin/shutdown.sh #停止tomcat

3.查询tomcat端口

 conf/server.xml

<Connector port="8899" redirectPort="8443" connectionTimeout="20000" protocol="HTTP/1.1"/>

8899

  相关解决方案