Start Tomcat, appear the Apache Tomcat Native Library which allows optimal performance in production environments is not found on t He JAV

Source: Internet
Author: User
Tags tomcat apache tomcat

2011-4-23 17:16:01 org.apache.catalina.core.AprLifecycleListener init info: The Apache Tomcat Native Library which allows op Timal performance in production environments is not found on the Java.library.path:d:/program files/java/jdk1.6.0/bin;d: /program files/apache/bin 2011-4-23 17:16:01 org.apache.coyote.http11.Http11Protocol init info: Initializing Coyote http/ 1.1 on http-8080 2011-4-23 17:16:01 Org.apache.catalina.startup.Catalina Load Info: Initialization processed in 803 MS 2011- 4-23 17:16:02 Org.apache.catalina.core.StandardService Start info: Starting service Catalina 2011-4-23 17:16:02 Org.apache . catalina.core.StandardEngine Start Info: Starting Servlet engine:apache tomcat/6.0.14 .....

Why is it. Search the Internet for a moment:

Actually this is recommended to use Apache APR;APR is the Apache portable runtime with this can effectively improve the ability of Tomcat to handle static pages. If you want to use APR, the actual operation is very simple,

1. Download Http://tomcat.heanet.ie/native/1.1.1/binaries/win32/tcnative-1.dll 2. Place the Tcnative-1.dll file under the Bin folder of your JDK installation directory. For example, my JDK installation path is: C:/Program files/java/jdk1.6.0_22; Then I'll put the Tcnative-1.dll file to: C:/Program Files/java/jdk1.6.0_22/bin down the line. 3. Restart Tomcat6 can be seen, the original occurrence of the anomaly becomes the following message: Information: Loaded Apache Tomcat Native library 1.1.14.

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.