SNOWFLAKES DRAWING PAPER
[Tomcat] The APR based Apache Tomcat Native librarylibrary which allows optimal performance in production environments was not found onon the java.library.path 본문
[Tomcat] The APR based Apache Tomcat Native librarylibrary which allows optimal performance in production environments was not found onon the java.library.path
눈송2 2011. 1. 20. 15:53톰캣 구동시 아래 메지가 나타날때의 해결방법이다.
:요약하자면 자바경로에서 최적의 퍼포먼스를 위한 Native library를 찾지 못했다는 메시지다.
Apache Portable 관한 참고 내용이다.
- Apache Portable Runtime (APR) based Native library for Tomcat
- 참고자료 : http://tomcat.apache.org/tomcat-6.0-doc/apr.html
◈ 윈도우일 경우:
http://tomcat.heanet.ie/native/1.1.6/binaries/win32/ 경로에 가셔서 "tcnative-1.dll 파일을 다운받는다.
jre/bin이 설치된 디렉토리에 복사한다.
◈ 리눅스일 경우:
http://tomcat.heanet.ie/native/1.1.6/binaries/linux/ 에서 소스를 받아서 컴파일 한다.
Most Linux distributions will ship packages for APR and OpenSSL. The JNI wrapper (libtcnative) will then have to be compiled. It depends on APR, OpenSSL, and the Java headers.
Requirements:
APR 1.2+ development headers
(libapr1-dev package)
OpenSSL 0.9.7+ development headers (libssl-dev
package)
JNI headers from Java compatible JDK 1.4+
GNU development
environment (gcc, make)
The wrapper library sources are located in the
Tomcat binary bundle, in the bin/tomcat-native.tar.gz archive. Once the build
environment is installed and the source archive is extracted, the wrapper
library can be compiled using (from the folder containing the configure script)
'개발 > Apache/Tomcat/Weblogic' 카테고리의 다른 글
[Tomcat] 시작시 Class 자동 실행 (0) | 2011.11.22 |
---|---|
[Tomcat] {Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:프로젝트명' did not find a matching property. (0) | 2011.01.20 |