The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
今天下载Windows安装版的tomcat5.5,安装完以后启动时候出现:
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ......
意思是说在产品环境下可以优化工作性能的Tomcat的本地包没有找到。
Google了一下,原来Tomcat从5.5版本后增加了APR技术(Apache Portable Runtime),这是一个用C语言写成文件包,目的在于提高Tomcat的服务性能,从而使得Tomcat将不仅仅担任一个容器的功能,而是要成为一个一般的web服务器(general purpose webserver)。 所以按照上面的提示,下载了tcnative-1.dll文件,放入上面提示所列出的java.library.path中的任意一个里面,结果又出现下面的错误:
严重: An incompatible version 1.1.1 of the Apache Tomcat Native library is installed, while Tomcat requires version 1.1.3
意思是说刚才下的版本过低,需要下载一个更高高版本的。
具体下载地址:tomcat.heanet.ie/native/
里面列出了1.1.0-1.1.9所有版本的链接地址!随便下载一个高于1.1.3版本的替换掉刚才文件就可以,既然有高版本的,当然下最新的喽~~
我下载的是1.1.9 替换掉以后再次启动tomcat会出现:
org.apache.coyote.http11.Http11AprProtocol init
这样就说明我们刚才成功了~~ 庆祝一下!
顺便附上各个版本tcnative-1.dll文件的下载地址,省的麻烦~~---->
1.1.9/ 1-Apr-2007 20:45 - tomcat.heanet.ie/native/1.1.9/binaries/win32/tcnative-1.dll 1.1.8/ 14-Dec-2006 09:19 - tomcat.heanet.ie/native/1.1.8/binaries/win32/tcnative-1.dll 1.1.7/ 13-Nov-2006 12:18 -tomcat.heanet.ie/native/1.1.7/binaries/win32/tcnative-1.dll 1.1.6/ 17-Oct-2006 08:22 - tomcat.heanet.ie/native/1.1.6/binaries/win32/tcnative-1.dll 1.1.4/ 07-Sep-2006 09:11 -tomcat.heanet.ie/native/1.1.4/binaries/win32/tcnative-1.dll 1.1.3/ 14-Apr-2006 09:36 - tomcat.heanet.ie/native/1.1.3/binaries/win32/tcnative-1.dll 1.1.2/ 09-Feb-2006 09:57 - tomcat.heanet.ie/native/1.1.2/binaries/win32/tcnative-1.dll 1.1.14/ 11-Jul-2008 16:35 - tomcat.heanet.ie/native/1.1.14/binaries/win32/tcnative-1.dll 1.1.12/ 14-Jan-2008 08:01 - tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll 1.1.10/ 02-Apr-2007 07:18 - tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll 1.1.1/ 01-Dec-2005 12:54 - tomcat.heanet.ie/native/1.1.1/binaries/win32/tcnative-1.dll
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:的更多相关文章
- 【问题解决:信息提示】SpringBoot启动时提示The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
问题描述 springboot程序在启动时提示信息 [2018-10-24 21:59:05.214] - 440 信息 [restartedMain] --- org.apache.catalina ...
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
运行环境: Intellij idea 14 在改了项目名称. 运行时候出现了 The APR based Apache Tomcat Native library which allows opti ...
- IDEA搭建ssm框架测试衍生出的问题The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Develop\jdk7\jdk1.7.0_79\bin;
最近玩起IDEA这开发工具,搭建ssm框架测试时,部署项目出现如下问题: 信息: The APR based Apache Tomcat Native library which allows opt ...
- 信息: 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 productio ...
- Tomcat启动慢原因之二 he APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
Tomcat启动时提示: 信息: The APR based Apache Tomcat Native library which allows optimal performance in prod ...
- 出现错误日志:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
tomcat6出现错误日志: 信息: The APR based Apache Tomcat Native library which allows optimal performance in ...
- 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\jdk1.8.0_60\bin;C:\Windows\Sun\Jav
启动项目自动结束,查看日志发现 [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : The APR based Apache To ...
- tomcant报错The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
下载与你Tomcat对应版本的 tcnative-1.dll,放到apache-tomcat-7.0.57\bin 目录下,重启tomcat http://archive.apache.org/dis ...
- 解决 The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
到 http://tomcat.heanet.ie/native/ 下载最新的tcnative-1.dll放到相应目录即可,我目前下载的是 http://tomcat.heanet.ie/native ...
随机推荐
- 第一次用python编写的小程序
print ("*******数字游戏*********")temp = input ("猜猜小红现在心里想的是什么数字呢?")guess = int(temp ...
- leetcode 之Single Number(14)
这题并不难,但需要注意细节. ListNode* addTwo(ListNode *l1, ListNode *l2) { ListNode dummy(-); ; ListNode *prev = ...
- leetcode 之Implement strStr()(27)
字符串的匹配,返回匹配开始的位置,直接用暴力方式求解.为了更快的匹配,定义一个指针表示待匹配的字符串的长度,当长度不足时,可 直接停止匹配. char *strStr(char *haystack, ...
- Linux下几个命令的技巧
Ctrl的组合键+a,移动到一行命令的首部+e,移动到一行命令的尾部+左右键,以单词为单位左右移动+u,删除光标之前的所有内容+k,删除光标之后的所有内容Alt+.为引用上一个命令的最后一个参数 还有 ...
- 解决报错:Access denied for user 'root'@'xxx' ,MySQL不允许从远程访问的方法 .
原文地址:传送门 例如,你想myuser使用mypassword从任何主机连接到mysql服务器的话. GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDEN ...
- ajaxReturn 之前dump调试,导致$.ajax不能正常运行
ajaxReturn 之前dump调试,导致$.ajax不能正常运行 以后调试的时候,注意下这个情况
- vue中的锚链接跳转问题
在vue中的锚链接和普通的html不同,关于vue中的锚链接可以参考vue 中的 scrollBehavior 滚动行为. 在router.js中 //创建 router 实例 const rout ...
- Master定理学习笔记
前言 \(Master\)定理,又称主定理,用于程序的时间复杂度计算,核心思想是分治,近几年\(Noip\)常考时间复杂度的题目,都需要主定理进行运算. 前置 我们常见的程序时间复杂度有: \(O(n ...
- JQ简单操作Ajax笔记
JQ对ajax进行了封装,底层$.ajax().第二层是.load(),$.get(),$.post().第三层是$.getScript()和$.getJSON(). load(url selecto ...
- 概率dp学习记录
论文参考 汤可因<浅谈一类数学期望问题的解决方法> 反正是很神奇的东西吧..我脑子不好不是很能想得到. bzoj 1415 1415: [Noi2005]聪聪和可可 Time Limit: ...