An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 -
i installed apache apr on ubuntu 10.04 with
sudo apt-get install libtcnative-1
when stated tomcat got following error:
aug 07, 2013 6:57:32 pm org.apache.catalina.core.aprlifecyclelistener init severe: incompatible version 1.1.22 of apr based apache tomcat native library installed, while tomcat requires version 1.1.24
how have fix error?
i created script compiling apache tomcat native library:
#!/bin/bash export apr_path=/usr/bin/apr-1-config export java_home=/opt/java export tomcat_home=/opt/tomcat export install_prefix=/usr wajig install libaprutil1-dev make cd /tmp rm -rf tomcat-native-* tar -zxf $tomcat_home/bin/tomcat-native.tar.gz cd /tmp/tomcat-native-*/jni/native ./configure --with-apr=$apr_path --with-java-home=$java_home --prefix=$install_prefix make && make install
Comments
Post a Comment