dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10238
Re: new tomcat
Speaking of Tomcat, Jason reminded me in a separate mail today that it is
good to install the native APR (apache portable runtime) library to
allegedly improve performance and scalability. It is intended to make Tomcat
a full fledget webserver and might reduce need for using Apache (also given
our limited static resources):
http://tomcat.apache.org/tomcat-7.0-doc/apr.html
Detailed instructions for installation on Ubuntu (get required libs, unzip
src, configure, make and install):
sudo apt-get install libapr1-dev libssl-dev gcc make
tar -xvf <tomcat-dir>/bin/tomcat-native.tar.gz
cd <tomcat-native-dir>/jni/native
./configure --with-apr=/usr/bin/apr-1-config
--with-java-home=/usr/lib/jvm/java-6-sun
make
sudo make install
- In <tomcat-dir>/bin/startup.sh add below the initial comments: -
export CATALINA_OPTS='-Djava.library.path=/usr/local/apr/lib'
Follow ups
References