2 t wuyuntao T_wuyuntao 于 2015.06.06 09:50 提问

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

6个回答

q3733353520
q3733353520   2015.06.06 14:47

java.net.SocketException: Network is unreachable//这个说的应该是网络断了

frank_20080215
frank_20080215   2015.06.06 15:50

8080端口可能被其他应用给占用了

T_wuyuntao
T_wuyuntao   2015.06.06 18:00

再明确一下,就是原来一直是好使的,也没动过什么东西,服务器就在这两天突然tomcat就这样了。自动down掉了。

qq_26993175
qq_26993175   2015.06.08 12:44

貌似是服务器由于某种原因,网卡没了

u011022054
u011022054   2015.10.19 10:40

我也遇到过,但是我重新安装个比较新的tomcat版本就好了。

mjq_java
mjq_java   2015.11.05 09:49

请问你这个问题解决了吗?我也遇到了,重启服务器还是无法访问

Csdn user default icon
上传中...
上传图片
插入图片