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.