无法阻止Tomcat

Pra*_*ngh 5 linux webserver tomcat jprofiler

我是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.
\n\nTomcat has shutdown
Run Code Online (Sandbox Code Playgroud)

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

[root@localhost bin]# service iptables status
Firewall is stopped.
Run Code Online (Sandbox Code Playgroud)

alf*_*sin 8

为了找到tomcat PID运行:

ps -ef | grep tomcat
Run Code Online (Sandbox Code Playgroud)

比使用:

kill -9 PID
Run Code Online (Sandbox Code Playgroud)

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