22-May-2015 11:46:11.393 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.2.
22-May-2015 11:46:11.393 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
22-May-2015 11:46:11.851 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL
OpenSSL successfully initialized (OpenSSL 0.9.8e-rhel5 01 Jul 2008)
就表示安装和配置都成功了;但如果是类似于这样的,(其实没有安装的时候就是这样的)
22-May-2015 14:05:57.427 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
The APR based Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path: :/usr/java/packages/lib/i386:/lib:/usr/lib
就表明没有成功。
8、后记
整个安装过程其实并不复杂,按照步骤一步一步来,很中规中矩,需要的就是一颗勇于尝试的心!!
据说那装了apr的tomcat可以提高性能,不知道是不是真的,而且看样子好像就可以支持OpenSSL了诶,以后有时间试一试!
enjoy!
RedHat Linux 5.5安装JDK+Tomcat并部署Java项目
Linux下使用Xshell查看Tomcat实时日志中文乱码解决方案
CentOS 64-bit下安装JDK和Tomcat并设置Tomcat开机启动操作步骤