tomcat 启动报错:UnsatisfiedLinkError,Apr Protocol
2017-03-29 17:18
176 查看
linux 上项目迁移,启动 tomcat 报错,网上找了很多资料都没解决,后来比对 tomcat 的 server.xml 才发现是协议的问题导致!!
Caused by: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Pool.create(J)J
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.lang.reflect.InvocationTargetException
原因:server.xml 中 协议写成了 Apr 协议,改为 HTTP/1.1 协议即可解决此问题:
Caused by: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Pool.create(J)J
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.lang.reflect.InvocationTargetException
原因:server.xml 中 协议写成了 Apr 协议,改为 HTTP/1.1 协议即可解决此问题:
相关文章推荐
- 解决启动Tomcat时遇到INFO: Destroying ProtocolHandler ["ajp-apr-8009"]
- 关于Tomcat启动报错:Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]
- 【tomcat】启动报错:Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"] java.lang.Exception: Socket bind failed 和java.net.BindException: Address already in use: JVM_Bind错误解决
- 解决启动Tomcat时遇到INFO: Destroying ProtocolHandler ["ajp-apr-8009"]
- Tomcat启动报错:Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]
- [Liferay6.2]启动Tomcat提示APR不能在java类库路径中被找到的解决办法
- Tomcat启动报The APR based Apache Tomcat Native library ...解决办法
- The APR based Apache Tomcat Native library which allows optimal performance in produc,Tomcat启动报错解决方法
- tomcat 部署https apr正确安装,启动找不到apr的问题
- tomcat启动问题:十二月 08, 2017 11:28:01 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息:
- Eclipse启动Tomcat报错,系统缺少本地apr库
- LINUX安装tomcat 启动报异常 Protocol handler pause failed java.net.NoRouteToHostException: No route to host
- tomcat 启动报错 the APR based Apache Tomcat Native library版本错误
- 两种方法解决tomcat的 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]
- 启动tomcat时报 Exception in thread http-apr-8080-exec-11、9等错误
- Tomcat 启动,错误:The APR based Apache Tomcat Native library
- 关于tomcat启动时出现The APR based Apache Tomcat Native library 问题
- 启动tomcat时报 Exception in thread http-apr-8080-exec-11、9等错误
- Tomcat7启动报错:Exception in thread "http-apr-8080-exec-6" java.lang.OutOfMemoryError: PermGen space
- 【转载】tomcat启动时报错:org.apache.catalina.core.AprLifecycleListener init