tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Tomcat doesn't shutdown: Connection refused
Date Mon, 21 Jul 2003 13:06:22 GMT

Annoying problem, good solution, good post.  Thanks!

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Daniel Farinha []
>Sent: Friday, July 18, 2003 11:50 PM
>Subject: Tomcat doesn't shutdown: Connection
>It took way too long to find a solution. Others in this list have
>problem, so hopefully this might solve it for them too.
>The problem: Tomcat starts and runs fine. It listens on 8080 as usual,
>its stuff. But when you try shutting down, you get the following error:
>Catalina.stop: Connection refused
> Connection refused
>        at Method)
>        at
>        at
>        at
>        at
>        at
>        at<init>(
>        at<init>(
>        at org.apache.catalina.startup.Catalina.stop(
>        at
>        at
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>        at
>        at java.lang.reflect.Method.invoke(
>        at
>It's identical to the error you get when you try shutting down when
>running. But in my case (and some others in this list) it _was_
>Well, in my case the problem was iptables. My firewall settings were
>restrictive, and port 8005 was being blocked, which tomcat uses for
>shutdown. I
>opened port 8005 on the firewall and all worked fine.
>Hope this saves someone from all the trouble that I went through... It
>hours, several jdk and tomcat re-installations and a visit to IRC
>find that one out.
>Daniel Farinha
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message