Tomcat startup error java.net. socketexception: Select failed

Source: Internet
Author: User

2011-4-21 17:29:03 org.apache.tomcat.util.net. jioendpoint $ acceptor run
Severe: 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 (defaserverserversocketfactory. Java: 61)
At org.apache.tomcat.util.net. jioendpoint $ acceptor. Run (jioendpoint. Java: 365)
At java. Lang. thread. Run (thread. Java: 619)

This error may be related to TCP/IP corruption. I have installed my WiFi before and may have damaged the TCP/IP protocol. As a result, the above error is always prompted when I start Tomcat. I have mentioned on the Internet that I have uninstalled IPv6, but it is useless after I have tried it. I don't know whether the effect is effective when I reinstall the TCP/IP. Solution: You need to add an additional startup parameter for Tomcat: -djava.net. preferipv4stack = true Select Server, right-click Open   In addition, the game accelerator conflicts with Tomcat.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.