`
liangminzeng
  • 浏览: 57716 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Tomcat启动问题:The APR based Apache Tomcat Native...

阅读更多
今天启动Tomcat打算运行程序时,又遇到了老朋友般的错误:The APR based Apache Tomcat Native library which allows optimal performance(为什么说老朋友,因为在公司的笔记本装tomcat时遇到过,现在是我自己的电脑)。

OK,我就习惯性的去下载tcnative-1.dll这个文件,然后放到C:\Windows\system32下,一启动,还是同样信息提示,囧,怎么回这样,于是马上转向google,很快,我就找到答案:将tomcat的bin目录下的tcnative-1.dll复制到JAVA_HOME/bin,再启动,果然OK了。

另外,要注意的是,建dynamic web project时,记得选dynamic web module是2.4,如果你用的是tomcat6的话。 否则会一直出现404。因为tomcat6可能不支持2.5,加载不了web.xml,这样根本没部署成功,所以会一直404.
分享到:
评论

相关推荐

    The APR based Apache Tomcat Native library which allows optimal performance in p

    标题中的"The APR based Apache Tomcat Native library"是指Apache Portable Runtime(APR)库的一个组件,即Apache Tomcat Native库。这个库是专门为Apache Tomcat设计的,目的是为了提高其在处理网络I/O、系统调用...

    tomcat 启动报APR based Apache Tomcat Native library not found

    标题 "tomcat 启动报APR based Apache Tomcat Native library not found" 指出的问题是关于Apache Tomcat服务器在启动时找不到基于APR(Apache Portable Runtime)的本机库。这通常涉及到Tomcat使用APR库来提高性能...

    tomcat启动的问题--apr

    信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jre1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\...

    APR based Apache Tomcat Native library 1.1.14.

    综上所述,"APR based Apache Tomcat Native library 1.1.14"对于优化Apache Tomcat的性能、安全性和兼容性具有重要意义。开发者和系统管理员应当了解并掌握这些知识点,以便在实际环境中充分利用这个库的优势。

    启动tomcat出错The Apache Tomcat Native library which allows optimal performance in production environments was not found

    TOMCAT昨天突然自己宕掉服务了,怎么重起都不行,后来查看logs中catalina.out 日志发现如下错误 INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not ...

    java源码:Tomcat 安装apr 支持 Tomcat Native.zip

    在Tomcat日志中,会有类似“Using APR based Apache Tomcat Native library”这样的信息。 通过启用Apr和Tomcat Native,你可以享受到以下优势: - **更高的性能**:由于可以直接调用操作系统API,Tomcat的网络I/O...

    tomcat-native-1.2.14-win64位-bin.zip

    解决tomcat 启动 An incompatible version [1.2.14] of the APR based Apache Tomcat Native library 错误,64BIN使用

    有关Tomcat--APR问题配置

    The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path CProgram FilesJavajdk1.6.0_04jrebin;CProgram FilesTomcat ...

    tomcat-native.tar.gz-------tomcat会报的错误

    信息: The APR based Apache Tomcat Native library which allows optimal performanc e in production environments was not found on the java.library.path: D:\Tomcat 6 .0\bin;.;C:\WINNT\Sun\Java\bin;C:\...

    解决eclpise中启动tomcat6出现红色警告的问题

    信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\study tools\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\...

    tcnative-1.dll各个版本整合

    Tomcat启动: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

    tcnative-1.dll

    严重: An incompatible version 1.1.14 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17 该资源为1.1.22版本,之后放到,tomcat/lib或者system32即可

    tcnative-1.dll 1.2.16下载 1.2.14可用

    An incompatible version [1.1.33] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14] 将文件放在:C:\Windows\System32 tcnative-1.dll 1.2.16下载 1.2.14...

    struts2驱动包

    信息: 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.6.0_10\bin;C:\Program ...

    tcnative-1.dll(最新tomcat-native-1.2.21-openssl-1.0.2q 含32/64)

    1.解决:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path... 2.用法:win+R 到C:\Windows\System32里面去 ,...

    CentOS 6.5上的Tomcat启动报错问题解决方法

    The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 2、第二个错误,错误详情: Exception in thread “main” ...

    Tomcat Native Liberay 文件

    The Apache Tomcat Native Liberay which allows optimal performance in production environments was not found on the java.library.path:E:\java\jdk1.5.0_05

    基于Java的Tomcat 安装apr 支持 Tomcat Native.zip

    启动Tomcat后,查看日志文件,如`catalina.out`,应能看到类似“Using APR based OpenSSL Engine”这样的信息,这意味着APR已经成功加载。 通过以上步骤,你就为基于Java的Tomcat安装了APR支持,并启用了Tomcat ...

    Apache/Tomcat/Nginx的区别

    ### Apache/Tomcat/Nginx 的区别详解 #### Apache HTTP Server Apache HTTP Server 是一个开源的 Web 服务器软件,能够支持多种操作系统平台,包括但不限于 Unix、Linux、Windows 等。它是由 Apache 软件基金会维护...

    各个版本tcnative-1.dll

    解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

Global site tag (gtag.js) - Google Analytics