Problem summary: tomcat-severe: Error initializing endpoint

Source: Internet
Author: User

2011-6-9 10:41:26 org. Apache. Catalina. Core. aprlifecyclelistener init
Information: the Apache Tomcat native library which allows optimal performance in production environments was not found on the java. library. path: C: \ Program Files \ Apache Software Foundation \ Tomcat 6.0 \ bin ;.; c: \ windows \ sun \ Java \ bin; c: \ windows \ system32; C: \ WINDOWS; C: \ Program Files \ common files \ microsoft shared \ Windows Live; C: \ windows \ system32; C: \ WINDOWS; c: \ windows \ system32 \ WBEM; c: \ windows \ system32 \ windowspowershell \ V1.0 \; C: \ Program Files \ Microsoft SQL Server \ 80 \ tools \ binn \; C: \ Program Files \ Microsoft SQL Server \ 90 \ DTS \ binn \; C: \ Program Files \ Microsoft SQL Server \ 90 \ tools \ binn \; C: \ Program Files \ Microsoft SQL Server \ 90 \ tools \ binn \ vsshell \ common7 \ ide \; C: \ Program Files \ Microsoft Visual Studio 8 \ common7 \ ide \ privateassemblies \; C: \ Program Files \ Microsoft SQL Server \ 100 \ tools \ binn \; C: \ Program Files \ Microsoft SQL Server \ 100 \ DTS \ binn \; C: \ Program Files \ Windows Live \ shared; C: \ Program Files \ common files \ thunder Network \ Kankan \ codecs; D: \ Program Files \ common files \ microstrategy; D: \ Program Files \ microstrategy \ Desktop; D: \ Program Files \ microstrategy \ command manager; D: \ Program Files \ microstrategy \ Enterprise Manager; D: \ Program Files \ microstrategy \ integrity manager; D: \ Program Files \ common files \ microstrategy \ JRE \ 160_07 \ Win32 \ bin; D: \ Program Files \ common files \ microstrategy \ documentation; C: \ Program Files \ sinovoice \ jtts 5.0 Desktop \ bin; C: \ Program Files \ sinovoice \ jtts 5.0 Desktop \ bin .; c: \ Program Files \ Java \ jdk1.6.0 _ 10 \ Lib \ DT. jar; C: \ Program Files \ Java \ jdk1.6.0 _ 10 \ Lib \ tools. jar
2011-6-9 10:41:27 org. Apache. Coyote. http11.http11protocol init
Severe: Error initializing endpoint
Java.net. socketexception: Unrecognized Windows Sockets error: 0: jvm_bind
At java.net. plainsocketimpl. socketbind (native method)
At java.net. plainsocketimpl. BIND (unknown source)
At java.net. serversocket. BIND (unknown source)
At java.net. serversocket. <init> (unknown source)
At java.net. serversocket. <init> (unknown source)
At org.apache.tomcat.util.net. defaultserversocketfactory. createsocket (defaserverserversocketfactory. Java: 50)
At org.apache.tomcat.util.net. jioendpoint. INIT (jioendpoint. Java: 494)
At org. Apache. Coyote. http11.http11protocol. INIT (http11protocol. Java: 175)
At org. Apache. Catalina. connector. connector. initialize (connector. Java: 1059)
At org. Apache. Catalina. Core. standardservice. initialize (standardservice. Java: 578)
At org. Apache. Catalina. Core. standardserver. initialize (standardserver. Java: 792)
At org. Apache. Catalina. startup. Catalina. Load (Catalina. Java: 504)
At org. Apache. Catalina. startup. Catalina. Load (Catalina. Java: 524)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (unknown source)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (unknown source)
At java. Lang. Reflect. method. Invoke (unknown source)
At org. Apache. Catalina. startup. Bootstrap. Load (Bootstrap. Java: 260)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 412)
2011-6-9 10:41:27 org. Apache. Catalina. startup. Catalina Load

Cause:Port 8080 is occupied and "netstat" is run in DOS-A: view the current port usage.

Solution:Modify the port used by Tomcat. For details, locate the directory... \ Tomcat 5.5 \ conf, which contains "server. XML file, open this file with notepad, find all "8080" in the file (CTRL + F after opening the file), and change it to other unused port values (such: 8088, 8081, etc ).

Tomact and other tools have just been installed. How can they be occupied? I haven't figured it out yet!

Appendix: What is port 80 of Tomcat?

Tomcat is a Java Virtual Machine software used to provide WWW services. The default port of the WWW Service is 80. Therefore, the Tomcat port is also 80. This can be modified. The advantage is that port 80 is the default WWW Service port. If it is changed to another port, you must add this port after the IP address to access your IIS. for example, http: // 192.168.0.1: 8080.

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.