Page 1 of 1

Apache Tomcat Native library with Scalix 11.3 error

Posted: Tue Jun 12, 2007 1:25 pm
by kennethburgener
I have Scalix 11.3. When I start scalix-tomcat I notice in the logs this message:

"INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:"

I downloaded, built and installed the Apache Portable Runtime (apr-1.2.8). Then I build the Apache Tomcat Native library. (tomcat-native-1.1.1 found here: /opt/scalix-tomcat/bin/tomcat-native.tar.gz)

I added to startup script LD_LIBRARY_PATH to point to /usr/local/apr/lib. Now when I start scalix-tomcat I see the following error:

"SEVERE: An incompatible version 1.1.1 of the Apache Tomcat Native library is installed, while Tomcat requires version 1.1.2"

I tried to download the 1.1.2 source, but according to the Apache Tomcat Native library website (http://tomcat.apache.org/tomcat-5.5-doc/apr.html): "The wrapper library sources are located in the Tomcat binary bundle, in the bin/tomcat-native.tar.gz archive"

Any suggestions?

Posted: Mon Nov 19, 2007 6:57 am
by michaelw
On http://apache.imsam.info/tomcat/tomcat- ... rs/native/ i've found tomcat-native-1.1.6 which worked for me on Fedora 5 with Scalix 11.1 and apr-1.2.8-1

During upgrade to Fedora 7 and Scalix 11.2, apr was updated to 1.2.8-6, so tomcat-native stopped working. Next weekend i'll try to fix it and post my experience.