An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

confile picture confile · Aug 7, 2013 · Viewed 17.3k times · Source

I installed apache apr on ubuntu 10.04 with

sudo apt-get install libtcnative-1

When I stated my tomcat I got the following error:

Aug 07, 2013 6:57:32 PM org.apache.catalina.core.AprLifecycleListener init
SEVERE: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

How do I have to fix that error?

Answer

Dejan picture Dejan · Dec 22, 2016

You have to upgrade your Tomcat native library to a newer version:

sudo apt-get upgrade libtcnative-1