Original Address:Eclipse launches Tomcat "Critical: Socket Accept failed" problem resolution
Love, Little Jay!
The Tomcat plugin was installed in Eclipse and the following issues occurred when you started Tomcat :
Critical: Socket Accept Failed
Java.net.SocketException:select failed
At Java.net.PlainSocketImpl.socketAccept (Native Method)
At Java.net.PlainSocketImpl.accept (plainsocketimpl.java:390)
At Java.net.ServerSocket.implAccept (serversocket.java:453)
At Java.net.ServerSocket.accept (serversocket.java:421)
At Org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket (defaultserversocketfactory.java:61)
At Org.apache.tomcat.util.net.jioendpoint$acceptor.run (jioendpoint.java:317)
At Java.lang.Thread.run (thread.java:619)
2012-3-15 20:32:20 Org.apache.tomcat.util.net.jioendpoint$acceptor Run
The reason is that there is a problem with the TCP/IP protocol, which may have been modified or damaged for some reason when installing certain software. such as: Thunder Game Accelerator, Youku download Upload tool love Cool 2 and Tomcat have conflict, they will occupy Tomcat used 8080 port.
Workaround:
1. You will need to reinstall the TCP/IP protocol or repair the protocol. This protocol can be repaired using LSP repair such as Kingsoft or 360 defender. If Jinshan or 360 of the LSP Repair tool does not find the problem, to restore it to initialize, and then restart the system can be resolved.
2. Reinitialize the network environment: under WINDOW7, start-cmd-netsh winsock reset-Enter-fix this Windows command Winsock is the Windows Network programming interface, Winsock works on the application layer, It provides high-level data transfer programming interface independent of the underlying transport protocol Netsh winsock reset is to restore it to its default state.
My Workaround: 360LSP Repair Tool repair.
Eclipse Boot Tomcat Issue: Critical: Socket Accept Failed