cancel
Showing results for 
Search instead for 
Did you mean: 

Rhel - APR based Apache Tomcat Native

dranakan
Champ on-the-rise
Champ on-the-rise
Hello,

I have installed Alfresco 3.4D on Rhel 5.6 and I have this message in the log during the startup :

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/Alfresco/java/jre/lib/amd64/server:/opt/Alfresco/java/jre/lib/amd64:/opt/Alfresco/java/jre/../lib/amd64:/opt/Alfresco/mysql/lib:/opt/Alfresco/common/lib::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib‍‍

I think that I need to install the tomcat-nativ but the package not exist in the dvd…. Which version must I install ? Where can I found it ?

Thank you.
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
Should be fine.

dranakan
Champ on-the-rise
Champ on-the-rise
Thank you.

sharifu
Confirmed Champ
Confirmed Champ
I have centos 64bit. The links that are posted there don't work, how would i install this for alfresco 3.4d?

dranakan
Champ on-the-rise
Champ on-the-rise
Hi,

Download tomcat-nativ : http://tomcat.apache.org/download-native.cgi

yum install apr-develcd /opt/installationgunzip tomcat-native-1.1.22-src.tar.gztar xf tomcat-native-1.1.22-src.tarcd tomcat-native-1.1.22-src/jni/native/./configure –with-apr=/usr/bin/apr-1-config –with-java-home=/opt/Alfresco/javamakemake install‍‍‍‍‍‍‍‍

Add in : /opt/Alfresco/tomcat/bin/setenv.sh
export LD_LIBRARY_PATH="/usr/local/apr/lib"‍