You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Matthew Reynolds <mr...@pdxinc.com> on 2000/12/05 23:31:47 UTC

No Route To Host exp

While trying to shutdown tomcat, I get this exception:
java.net.NoRouteToHostException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at org.apache.tomcat.task.StopTomcat.execute(StopTomcat.java:104)
        at org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:267)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:174)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

I'm allowed to start Tomcat (ps'ing the box shows running processes, and I
can hit :8080), but why can't I shut it down?

A word of note, our internal network configuration here is quite, er, simple
(we simply don't do routing of any sort), so if there are solutions in that
area, I'll track them down first.

I have the 3.2 final build of tomcat, binary.

java -version :
ecom-util:~# java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.0-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)

Any help would be appreciated,
Matt


Re: No Route To Host exp

Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
Make sure you haven't commented out the AJP12 connector
in your server.xml config file.  AJP12 is required to
shutdown tomcat.

Glenn

Matthew Reynolds wrote:
> 
> While trying to shutdown tomcat, I get this exception:
> java.net.NoRouteToHostException: Connection timed out
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
>         at java.net.Socket.<init>(Socket.java:273)
>         at java.net.Socket.<init>(Socket.java:100)
>         at org.apache.tomcat.task.StopTomcat.execute(StopTomcat.java:104)
>         at org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:267)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:174)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 
> I'm allowed to start Tomcat (ps'ing the box shows running processes, and I
> can hit :8080), but why can't I shut it down?
> 
> A word of note, our internal network configuration here is quite, er, simple
> (we simply don't do routing of any sort), so if there are solutions in that
> area, I'll track them down first.
> 
> I have the 3.2 final build of tomcat, binary.
> 
> java -version :
> ecom-util:~# java -version
> java version "1.3.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.0-FCS)
> Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)
> 
> Any help would be appreciated,
> Matt

-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------