加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 无法阻止Tomcat

发布时间:2020-12-14 00:52:22 所属栏目:Linux 来源:网络整理
导读:我是Tomcat的新手,只是用jprofiler配置我的tomcat.但是现在无法停止tomcat服务器,收到以下错误信息. [root@localhost bin]# service tomcat stop Stopping .Using CATALINA_BASE: /data/applications/apache-tomcat-6.0.26Using CATALINA_HOME: /data/applic
我是Tomcat的新手,只是用jprofiler配置我的tomcat.但是现在无法停止tomcat服务器,收到以下错误信息.

[root@localhost bin]# service tomcat stop 
Stopping .
Using CATALINA_BASE:   /data/applications/apache-tomcat-6.0.26
Using CATALINA_HOME:   /data/applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /data/applications/apache-tomcat-6.0.26/temp
Using JRE_HOME:        /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0
Using CLASSPATH:       /data/applications/apache-tomcat-6.0.26/bin/bootstrap.jar
JProfiler> Protocol version 35
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 32-bit library
JProfiler> Listening on port: 8849.
JProfiler> Instrumenting native methods.
JProfiler> Can retransform classes.
JProfiler> Can retransform any class.
JProfiler> Native library initialized
JProfiler> VM initialized
JProfiler> Waiting for a connection from the JProfiler GUI ...
JProfiler> ERROR: Could not bind socket.
nnTomcat has shutdown

我不确定我的配置有什么问题,并且框中禁用了防火墙.

[root@localhost bin]# service iptables status
Firewall is stopped.

解决方法

为了找到tomcat PID运行:

ps -ef | grep tomcat

比使用:

kill -9 PID

另一件事,你可能有一个看门狗运行,让tomcat重新启动 – 在这种情况下,你也想要关闭(或杀死)看门狗

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读