When Tomcat 5.5 is started, the system prompts "the Apache Tomcat native library which allows optimal performance in production envir

Source: Internet
Author: User

1. The following information may be received when tomcat5.5 is started:
Oct 30,200 6 11:54:51 am org. Apache. Catalina. Core. aprlifecyclelistener lifecycleevent
Info: the Apache Tomcat native library which allows optimal performance in production environments was not found on the java. library. path:/usr/local/jdk1.5.0 _ 08/JRE/lib/i386/Server:/usr/local/jdk1.5.0 _ 08/JRE/lib/i386: /usr/local/jdk1.5.0 _ 08/JRE /.. /lib/i386
This indicates that no APR is found. The Tomcat document describes the relationship between Tomcat and APR and describes the advantages of APR. The reference links are as follows:
Http://tomcat.apache.org/tomcat-5.5-doc/apr.html

2. Go to the Apache website to download and install Apr, link: http://apr.apache.org/

3. install Apache Tomcat native library. You can find this native package in the tomcat/bin directory, but the version is 1.1.3. After installation, start the package. The following message is displayed:
Oct 30,200 6 12:40:42 org. Apache. Catalina. Core. aprlifecyclelistener lifecycleevent
Info: an older version 1.1.3 of the Apache Tomcat native library is installed, while Tomcat recommends version greater than 1.1.4
You can download the new version from the following website: http://tomcat.heanet.ie/native/. currently, the latest version is 1.1.6,

4. After installation, follow the prompts to set the environment variables. Then start the environment to load Apr.

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.