Stop Tomcat: java.net.ConnectException

Oct 19, 2010 2:49:49 PM org.apache.catalina.connector.Connector pause

SEVERE: Protocol handler pause failed

java.net.ConnectException: Connection timed out: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

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.<init>(Socket.java:375)

at java.net.Socket.<init>(Socket.java:218)

at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:493)

at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:290)

at org.apache.jk.server.JkMain.pause(JkMain.java:683)

at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)

at org.apache.catalina.connector.Connector.pause(Connector.java:1032)

at org.apache.catalina.core.StandardService.stop(StandardService.java:489)

at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)

at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)

at org.apache.catalina.startup.Catalina.start(Catalina.java:577)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

Oct 19, 2010 2:49:51 PM org.apache.catalina.core.StandardService stop

 

 

Edit the value as localhost

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Hostname

 

你可能感兴趣的:(java,apache,tomcat,.net,socket)