Updated on 31/05/2012
I have a VPS and running a Tomcat server over a year without a problem. However, Tomcat just shutdowns right after VPS maintain and can not start again a week ago. So I look into catalina.out and found that my VPS missing a Apache Tomcat Native library:
root@cdou:/home/tomcat/logs# vim catalina.out May 28, 2012 8:32:02 AM
org.apache.catalina.core.AprLifecycleListener init INFO: The APR based
Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
so I googled around and install libtcnative-1, but still no luck, now catalina.out give me this:
An older version 1.1.19 of the APR based Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of 1.1.2