Tomcat Install Apr local library incompatibility Problem resolution APR based Apache Tomcat Native Library is installed

Source: Internet
Author: User
Tags tomcat apache tomcat

Today will be Windows7 on the Tomcat from 6 to 7, after the update is completed, the Eclipse configuration Tomcat6 changed to TOMCAT7, the results when the error was started, error content as follows:

June 22, 2016 2:51:12 pm Org.apache.catalina.core.AprLifecycleListener init
Critical: An incompatible version 1.1.29 of the AP R based Apache Tomcat Native Library is installed and while Tomcat requires version 1.1.32

The content is that Tomcat is not compatible with version 1.1.29 when installing the local APR library, at least 1.1. Version 32 of the APR library is installed.

There are many search results on the web, which is to put tcnative-1.dll this file in the Tomcat directory bin directory, in fact, does not necessarily solve the problem.

I was tested several times, found a pattern, summed up:

1. Go to http://archive.apache.org/dist/tomcat/tomcat-connectors/native/to download a hint of abnormal version, will generally be higher than the prompt version, For example, my eclipse hint 1.1.32 version, in fact I was to "1.1.34/binaries" directory Download "tomcat-native-1.1.34-win32-bin.zip" This file, my machine is 64-bit, without being confused by the name. Extract the "Tcnative-1.dll" file under "bin\x64" directory. For version, generally use higher, such as request 1.1.32, download the latest 1.1.34, if there is 1.1.43, it is better not to, generally recognized the same as the previous few. Don't think that 1.1.4 is higher than the 1.1.32 version, the point "." is the key to separating the version.

2. Copy the "Tcnative-1.dll" file to the JDK's installation directory bin. Of course, to see your eclipse configuration JRE when the specific directory, I configured the JDK directory, so put into the JDK bin, if the configuration is the JRE directory, should be placed in the JRE directory under the bin.




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.