tomcat配置了apr模式,在远程执行部署脚本时,tomcat日志出现如下错误
The configured protocol [org.apache.coyote.http11.Http11AprProtocol] requires the APR/native library which is not available
解决方法:
vim tomcat/bin/setclasspath.sh
export LD_LIBRARY_PATH=/usr/local/apr/lib