问题描述:
系统环境(在 Tomcat Server Status 中直接复制过来)
Apache Tomcat/6.0.32
|
1.6.0_20-b02
|
Sun Microsystems Inc.
|
Windows XP
|
5.1
|
x86
|
在 Tomcat 的 $CATALINA_HOME/bin 目录下加了 tcnative-1.dll ,结果关闭服务时出现如下错误。
2011-8-2 9:03:53 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
严重: Socket accept failed
org.apache.tomcat.jni.Error: A blocking operation was interrupted by a call to WSACancelBlockingCall.
at org.apache.tomcat.jni.Socket.accept(Native Method)
at org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1109)
at java.lang.Thread.run(Thread.java:595)
2011-8-2 9:03:53 org.apache.coyote.ajp.AjpAprProtocol destroy
信息: Stopping Coyote AJP/1.3 on ajp-8009
解决:
问题根源
:你下载的 tcnative-1.dll 文件不是 Tomcat 原始使用的那个版本文件
在 $CATALINA_HOME/webapps/docs/apr.html 打开其官方 Apache Portable Runtime (APR) 文档
描述,其 APR 包的源码在 bin/tomcat-native.tar.gz 归档文件中。所以,打开该文件就可以知道该 Tomcat native 的版本是多少,然后就到 Tomcat native 下载中心
下载相同版本的 tcnative-1.dll 和 openssl.exe 即可。问题搞定了,
就
这么简单!如果版本不一样,就可能会出现上面这个问题,这就是引起该问题的根源所在。
Ok,就说这么多了!^_^
分享到:
相关推荐
赠送jar包:netty-tcnative-classes-2.0.46.Final.jar; 赠送原API文档:netty-tcnative-classes-2.0.46.Final-javadoc.jar; 赠送源代码:netty-tcnative-classes-2.0.46.Final-sources.jar; 赠送Maven依赖信息...
tcnative-1.dll 1.2.14 64位 tcnative-1.dll 1.2.14 64位tcnative-1.dll 1.2.14 64位tcnative-1.dll 1.2.14 64位tcnative-1.dll 1.2.14 64位tcnative-1.dll 1.2.14 64位tcnative-1.dll 1.2.14 64位tcnative-1.dll ...
tomcat64位tcnative-1.dll文件
Tomcat tcnative-1.dll文件x32和x64
赠送jar包:netty-tcnative-classes-2.0.46.Final.jar; 赠送原API文档:netty-tcnative-classes-2.0.46.Final-javadoc.jar; 赠送源代码:netty-tcnative-classes-2.0.46.Final-sources.jar; 赠送Maven依赖信息...
64位的tcnative-1.dll.rar,非常值得推荐。针对于win7,win8 win10上的64位
tcnative-1.dll(1.1.17和1.1.20)
解压文件后bin文件夹下是32位的tcnative-1.dll文件,另外含有x64文件夹,对应64位系统文件,1.2.17版本
tcnative-1.dll 1.1.9(win32和64),现在是最新版的
tcnative-1.dll 32位 and tcnative-1.dll 64位tcnative-1.dll 32位 and tcnative-1.dll 64位
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文件放到tomcat\bin下即可...
赠送jar包:netty-tcnative-classes-2.0.48.Final.jar; 赠送原API文档:netty-tcnative-classes-2.0.48.Final-javadoc.jar; 赠送源代码:netty-tcnative-classes-2.0.48.Final-sources.jar; 赠送Maven依赖信息...
解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
赠送jar包:netty-tcnative-classes-2.0.48.Final.jar; 赠送原API文档:netty-tcnative-classes-2.0.48.Final-javadoc.jar; 赠送源代码:netty-tcnative-classes-2.0.48.Final-sources.jar; 赠送Maven依赖信息...
由错误提示可知,tcnative-1.dll是一个32位文件,但是运行在64位系统上 解决办法 下载一个64位的tcnative-1.dll,覆盖了原来的文件 java.lang.UnsatisfiedLinkError: Can't load IA 32-bit .dll on a AMD 64-...
tcnative-1.dll的多个版本集合打包,32位、64位。 解决Tomcat启动时报tcnative-1.dll版本错误,替换相应的dll即可(Tomcat的安装路径下的\bin中)
32 64位 tcnative-1.dll 下载 解决 Can't load IA 32-bit .dll on a AMD 64-bit platform 官网下载链接https://tomcat.apache.org/download-native.cgi
在使用netty做 openssl 中使用 netty-tcnative-boringssl-static 在 linux-x86_64/osx-x86_64/windows-x86_64 分别对cpu 不同平台支持,但是在鲲鹏arm 处理上缺没有相关支持,导致在arm64 服务器上,没法运行比如 ...
Tomcat tcnative-1.dll 完全解决方案。