RimuHosting: Mighty Linux Servers.  Support Worth Raving About
Plans & Pricing
Server Recommendation Tool
Server Types
  VPS
  Semi-dedicated Server
  Dedicated Server
Server Locations
  Dallas
  London
  Australia
VPS Technology
Hardware
Data Centers
Linux Distributions
Applications
Maintenance Notices
Support Ticket
Control Panel
HOWTO Articles
Forums
VPS control panel
Billing details
Receipts
Contact details
DNS
Reverse DNS
Console-over-SSH
FTP backup space
Backup mail server
About
Staff
News
Customer Testimonials
Sales Inquiry
Link To Us
Terms and Conditions
Site Map

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

You guys rock, as usual!

- Neil (after an additional server order) (#93/277)
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/tomcat-native-1.1.13-src.tar.gz

rpm -ql apr-devel

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

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

service tomcat restart

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