问题描述
- SocketException: Network is unreachable tomcat无故挂掉
-
linux服务器上的tomcat,最近两天日志提示这个问题。无故挂掉,请求解决。。。INFO: Pausing Coyote HTTP/1.1 on http-8181
Jun 5, 2015 10:21:55 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.(Socket.java:375)
at java.net.Socket.(Socket.java:218)
at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:486)
at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:283)
at org.apache.jk.server.JkMain.pause(JkMain.java:681)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
at org.apache.catalina.connector.Connector.pause(Connector.java:1073)
at org.apache.catalina.core.StandardService.stop(StandardService.java:563)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:671)
Jun 5, 2015 10:21:56 PM org.apache.catalina.core.StandardService stop
解决方案
java.net.SocketException: Network is unreachable//这个说的应该是网络断了
解决方案二:
8080端口可能被其他应用给占用了
解决方案三:
再明确一下,就是原来一直是好使的,也没动过什么东西,服务器就在这两天突然tomcat就这样了。自动down掉了。
解决方案四:
貌似是服务器由于某种原因,网卡没了
解决方案五:
我也遇到过,但是我重新安装个比较新的tomcat版本就好了。
解决方案六:
请问你这个问题解决了吗?我也遇到了,重启服务器还是无法访问