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 ...
随机推荐
- SRM 563 Div1 500 SpellCards
Description 有n张符卡排成一个队列,每张符卡有两个属性,等级lili和伤害didi. 你可以做任意次操作,每次操作为以下二者之一: 把队首的符卡移动到队尾. 使用队首的符卡,对敌人造成di ...
- 你想了解的轮询、长轮询和websocket都在这里了
日常生活中,有很多需要数据的实时更新,比如群聊信息的实时更新,还有投票系统的实时刷新等 实现的方式有很多种,比如轮询.长轮询.websocket 轮询 轮询是通过设置页面的刷新频率(设置多长时间自动刷 ...
- AC日记——旅游 bzoj 2157
2157 思路: LCT: 代码: #include <bits/stdc++.h> using namespace std; #define maxn 400005 #define IN ...
- cocos2djs ctor init onEnter的区别
cocos2d-html5 onEnter init ctor构造函数 ---js特有特性(和c++有点不一样 ctor 构造函数, new 一个对象的时候调用-----coco2d-js , 默认c ...
- vue-music 关于Player (播放器组件)--播放模式
播放器播放模式有三种,顺序播放,单曲循环,随机播放,定义在vuex 中的字段为 mode.点击切换播放模式的图标.切换模式判断是否为随机播放,如果是随机播放模式,则取得sequenceList 列表数 ...
- 探索"+"的原本
躺了一会,回忆以前看过的一些描述"原本"的知识,突然想到简单的数学运算1+1=2,在程序设计里的原本是什么呢,想到这里,不睡了,按照前人的指引,我也来探索一下阿 (以下代码使用C# ...
- gdbserver静态编译
redhat9 编译gdb server(静态编译)下载gdb-6.2a.tar:http://download.chinaunix.net/download.php?id=6680&Reso ...
- SecureFXPortable中文乱码
SecureFXPortable有一个非常奇怪的地方,明明在全局选项中已经将编码设置为UTF-8,但连接Linux还是会出现中文乱码. 后来发现这个全局选项竟然不对SecureFXPortable生效 ...
- 关于windows环境下cordova命令行无法启动adb.exe的解决办法
使用phonegap开发手机APP,常常需要更改代码之后进行调试,使用安卓模拟器每次启动非常缓慢,而且不能保证最终在真机上的效果.所以一般都采用真机进行调试. 搭建真机的调试环境这里就不再赘述了,网上 ...
- 【推导】【分类讨论】Codeforces Round #431 (Div. 1) B. Rooter's Song
给你一个这样的图,那些点是舞者,他们每个人会在原地待ti时间之后,以每秒1m的速度向前移动,到边界以后停止.只不过有时候会碰撞,碰撞之后的转向是这样哒: 让你输出每个人的停止位置坐标. ①将x轴上初始 ...