Skip to content

Instantly share code, notes, and snippets.

@joohee
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save joohee/3a569905d1cf36232a19 to your computer and use it in GitHub Desktop.

Select an option

Save joohee/3a569905d1cf36232a19 to your computer and use it in GitHub Desktop.
[TOMCAT] tomcat native library 설정
현상 : 로그에 The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 찍힘.
해결 : tomcat native library 설치
http://tomcat.apache.org/tomcat-7.0-doc/apr.html 참고
1 Apache APR(Apache Portable Runtime) 설치
Apache APR 홈페이지 : http://apr.apache.org/
APR은 Apache2 버전이 설치되면 함께 설치 된다. $APACHE_HOME/bin/apr-1-config 를 확인 한다.
Apache 2 가 설치되어 있지 않다면 아래와 같이 설치해야 한다.
// 다운로드 : wget http://apache.mirror.cdnetworks.com/apr/apr-1.5.1.tar.gz
// 설치
gzip -d apr-1.5.1.tar.gz
tar -xvf apr-1.5.1.tar
configure --prefix=/usr/local/apr-1.5.1
make
make install
2. Tomcat Native Library 설치
- Centos의 경우는
sudo yum install tomcat-native
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment