java_tomcat_the_APR based Apache Tomcat 小喵咪死活启动报错_临时方案

报错信息如下:

信息: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: D:\Program Files\Java\jdk1.6.0_33\bin;

造成结果:

IDE中无法加载web项目 ,不方便调试。

解决步奏:

1 百度之,各种tcnative-1.dll ,下载这个dll,copy到tomcat,jdk/bin,
重装ide,tomcat,如果奏效,不用往后继续。我的没奏效 ,人品没爆发

2 把项目打成war测试直接放到tomcat /webapps下 startup能启动的话,【虽然也报那个错,不影响项目解压
发布运行】,测试结束后删除webapps下的war及项目,转为步奏3

3  修改 apache-tomcat-6.0.20\conf\server.xml
文件中 的dosbase指向,

代码如下

<Context
docBase="F:\workspace\workspace_bg\searchService\WebContent" debug="0"
path="/searchService" reloadable="true" />

docBase为工作空间的class目录,path
为项目访问路径,注意反斜杠

位置如下

4:最终效果,可以再IDE中修改代码,编译。访问浏览器 看修改效果。前置条件,修改过service.xml的tomcat通过
bin/startUp.bat 启动着 ,不关闭。

5: 哪位大侠有更好的解决方法,请email : [email protected]

时间: 2024-10-11 16:56:53

java_tomcat_the_APR based Apache Tomcat 小喵咪死活启动报错_临时方案的相关文章

java_tomcat_Server at localhost was unable to start within 45 seconds 小喵咪死活启动报错-二

错误:Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds 错误提示就是我们限定了部署的时间导致的错误. 修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件. 把其中的start-timeout="45" 改为  start-timeout="120" 或者更长,根据不同同

Tomcat 部署 The APR based Apache Tomcat Native ...

Tomcat启动时提示org.apache.catalina.core.AprLifecycleListener- ApacheTomcatJavaJNIIE 网上针对此问题提供的文章很多,但多数和我遇到的情况有出入,所以我将其记录于此 最近开发中需要使用Tomcat,随意找来个较新的版本6.0.20就用.发现启动时提示: "2010-5-12 18:06:06 org.apache.catalina.core.AprLifecycleListener init 信息: The APR base

解决Tomcat启动时出现的The APR based Apache Tomcat Native library异常

现在用的tomcat6.0,不知道大家注意没有,在启动的时候,那个启动窗口最上面出现这样一条信息: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: 这实际上是tomcat推荐使用apache的apr 需要下载tcnative-1.dll 下载后放到tom

Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4.6.

Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4.6. 我复制的几个地方: MySql C:\WINDOWS\system32\ jdk \bin文件夹下都要复制此文件

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 optimal performance in production environments was not found on the java.library.path: D:\Develop\jdk7\jdk1.7.0_79\bin;C:\Windows\Sun\Java\bin;C:\Windows

信息: 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 (x86)\Java\jre1.8.0_111\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Win

启动报The APR based Apache Tomcat Native library which allows optimal performance in production environ

mnesia在频繁操作数据的过程可能会报错:** WARNING ** Mnesia is overloaded: {dump_log, write_threshold},可以看出,mnesia应该是过载了.这个警告在mnesia dump操作会发生这个问题,表类型为disc_only_copies .disc_copies都可能会发生. 如何重现这个问题,例子的场景是多个进程同时在不断地mnesia:dirty_write/2 mnesia过载分析 1.抛出警告是在mnesia 增加dump

The APR based Apache Tomcat Native library tomcat启动错误

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 由代码可知是缺少APR模块导致的错误. 1.安装APR wget http://apache

Tomcat新问题 还没有解决:the apr based apache tomcat native librariy which allows optional perf...........

问题信息详细: 2012-5-18 18:41:54 org.apache.catalina.core.AprLifecycleListener init 信息: 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\jdk