Google 그룹스는 더 이상 새로운 유즈넷 게시물 또는 구독을 지원하지 않습니다. 과거의 콘텐츠는 계속 볼 수 있습니다.

tomcat shutdown problem

조회수 8회
읽지 않은 첫 메시지로 건너뛰기

Dirk Daems

읽지 않음,
2002. 10. 4. 오전 3:35:5702. 10. 4.
받는사람
Hi,

I'm using the Tomcat servlet engine on a Linux machine.
When I try to shut the engine down, I get the following error message. I
searched the internet for a solution, but the only answer I could find is
that tomcat probably isn't running. In my case, tomcat is running!

Kind regards,
Dirk Daems

[root@d5e04559 test]# /usr/local/bin/jakarta-tomcat-4.0.4/bin/shutdown.sh
Using CATALINA_BASE: /usr/local/bin/jakarta-tomcat-4.0.4
Using CATALINA_HOME: /usr/local/bin/jakarta-tomcat-4.0.4
Using CATALINA_TMPDIR: /usr/local/bin/jakarta-tomcat-4.0.4/temp
Using JAVA_HOME: /usr/local/bin/j2sdk1.3.1/
Catalina.stop: java.net.ConnectException: Connection timed out
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


Dave Miller

읽지 않음,
2002. 10. 4. 오전 10:27:5002. 10. 4.
받는사람
In article <xxbn9.144817$8o4....@afrodite.telenet-ops.be>,
dir...@pandora.be says...
That stack is decidely similar to the one you would get if tomcat were
not running (the script can't connect to the engine).

How did you start tomcat? Does netstat show tomcat on the port(s) you
indicated in server.xml?

Dirk Daems

읽지 않음,
2002. 10. 4. 오전 11:17:4702. 10. 4.
받는사람

"Dave Miller" <unk...@unknown.com> wrote in message
news:MPG.18076f5f...@news.pa.comcast.giganews.com...

Hi,

In my server.xml file, the server shutdown is 8005.
When I do netstat -anp | grep java:

[root@d5e04559 root]# netstat -anp | grep java
tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN
2153/java
tcp 0 0 0.0.0.0:8008 0.0.0.0:* LISTEN
2153/java
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN
2153/java
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
2153/java

That seems fine to me ...

Kind regards,
Dirk Daems


Dirk Daems

읽지 않음,
2002. 10. 4. 오전 11:27:4802. 10. 4.
받는사람

"Dirk Daems" <dir...@pandora.be> wrote in message
news:viin9.145385$8o4....@afrodite.telenet-ops.be...

Whoops,
I figured it out. I have an iptables firewall script running ...
Sorry for bothering you with this!

Kind regards,
Dirk Daems


Dave Miller

읽지 않음,
2002. 10. 4. 오후 1:07:0302. 10. 4.
받는사람
In article <Urin9.145396$8o4....@afrodite.telenet-ops.be>,
dir...@pandora.be says...
I wish I could say that I never forgot to add the old localhost -j
ACCEPT.

Regards

DM

새 메시지 0개