Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tomcat + ConnectException

0 views
Skip to first unread message

Dirk Daems

unread,
Oct 3, 2002, 10:34:57 AM10/3/02
to
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)


Dirk Daems

unread,
Oct 4, 2002, 12:44:52 PM10/4/02
to

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

I found out what went wrong: my iptables firewall rejected the connection.
Problem solved :)

Kind regards,
Dirk Daems


0 new messages