Tomcat을 처음 사용하고 jprofiler로 tomcat을 구성했습니다. 그러나 이제 Tomcat 서버를 중지 할 수 없어 다음 오류 메시지가 나타납니다.Tomcat을 종료 할 수 없습니다.
[[email protected] 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
구성에 문제가 있는지 잘 모르겠다. 상자에서 방화벽을 사용할 수 없습니다. 사용하는 것보다
ps -ef | grep tomcat
:
[[email protected] bin]# service iptables status
Firewall is stopped.
바람둥이 PID 실행 찾기 위해
그러나 Tomcat이 중지되었음을 의미합니다. – Cratylus
또한 오류 메시지를 표시합니다. JProfiler> JProfiler GUI에서의 연결 대기 중 ... JProfiler> ERROR : 소켓을 바인딩 할 수 없습니다. 그리고 예 Tomcat은 서비스 또는 init.d 스크립트를 사용하여 여러 번 중지 한 후에 계속 실행 중입니다. – PratapSingh
'service' 명령에 의해 호출 된 스크립트를 살펴보십시오. 아마도 원하지 않는 구성이 입력되었을 수도 있습니다. 당신은 스크립트가'/ etc/init.d'와 가까운 곳에있을 가능성이 높습니다. – HonkyTonk