본문 바로가기

프로그래밍(WEB)/Apache Tomcat

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 메세지 해결 방법

이클립스에서 톰캣을 기동시 제목과 같은 메세지 발생시 처리방법

 

# 발생 메세지

정보: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\oracle\app\oracle\product\11.2.0\client_1\bin;D:\app\MIO\product\11.2.0\client_2;D:\app\MIO\product\11.2.0\client_2\bin;D:\app\MIO\product\11.2.0\client_1;D:\app\MIO\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.7.0_03\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Bandizip\7z;C:\eclipse;;.

 

# 해결 방법

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

http://apache.tt.co.kr/tomcat/tomcat-connectors/native/

위 사이트에서 사용 OS에 맞는 zip으로된 bin lib를 다운받아서

압축 해제후 tcnative-1.dll 파일을

JDK경로\BIN 위치에 복사후 Tomcat을 재기동한다.

 

# 변경 메세지

정보: Loaded APR based Apache Tomcat Native library 1.1.30 using APR version 1.4.8.