TOMCAT - org.apache.catalina.startup.Catalina stopServer SEVERE:Catalina.stop:

时间:2016-08-29 15:17:45

标签: java tomcat

我尝试在Tomcat上调用shutdown.sh时遇到此错误。 Tomcat在192.168.1.240:8080上的内部服务器上

堆栈跟踪

Aug 29, 2016 5:14:09 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop: 
java.net.NoRouteToHostException: Can't assign requested address
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at java.net.Socket.connect(Socket.java:538)
    at java.net.Socket.<init>(Socket.java:434)
    at java.net.Socket.<init>(Socket.java:211)
    at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:450)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:400)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:487)

Tomcat并没有停止......

1 个答案:

答案 0 :(得分:0)

也许你用完了可用的端口或停止tomcat的端口已经占用了。你可以杀死进程来停止tomcat