Order VPS Hosting
Order a VPS, Semi- dedicated or Dedicated server in Dallas, London or Australia.

Get Assistance
Ask our support team about your hosting requirements.


Host where the staff takes pride in making customers happy

Thank you very much! I would like to give my very high appreciation to your support. I have had nothing but excelent service from Rimu Hosting over the years i have been a customrer!

- Joachim (after helping with an Apache/Tomcat configuration) (#32/312)
Home > Support > HOWTO List > libtcnative install

Apache Portable Runtime (APR) and Tomcat

Per http://tomcat.apache.org/tomcat-5.5-doc/apr.html Tomcat can use the Apache Portable Runtime to provide superior scalability, performance, and better integration with native server technologies.

Installing the JNI wrappers for APR used by Tomcat (libtcnative)

On CentOS5, http://www.jroller.com/agileanswers/entry/configuring_apr_for_tomcat is a popular guide for installing the Apache Tomcat Native Library.


apt-get -y install apr-devel openssl-devel

wget http://apache.seekmeup.com/tomcat/tomcat-connectors/native/1.1.16/source/tomcat-native-1.1.16-src.tar.gz

rpm -ql apr-devel

tar -zxvf tomcat-native*
cd tomcat-native*/jni/native
./configure --with-apr=/usr/bin/apr-1-config
make
make install

ln -s /usr/local/apr/lib/libtcnative-1.so.0.1.16 /usr/lib/libtcnative-1.so

service tomcat restart

less /usr/local/tomcat/logs/catalina.out

Hosting

Why RimuHosting

RimuHosting