当前位置: 首页 > 工具软件 > Tomcat Native > 使用案例 >

win10关于启动tomcat关于基于APR的Apache Tomcat Native库的旧版本[1.2.16],而Tomcat建议使用[1.2.23]的最低版本的问题

施学
2023-12-01
24-Mar-2020 15:43:05.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本:     Apache Tomcat/8.5.53
24-Mar-2020 15:43:05.672 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建:            Mar 11 2020 10:01:39 UTC
24-Mar-2020 15:43:05.673 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号(:8.5.53.0
24-Mar-2020 15:43:05.673 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
24-Mar-2020 15:43:05.674 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本:               10.0
24-Mar-2020 15:43:05.674 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构:                  amd64
24-Mar-2020 15:43:05.674 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量:         C:\server\jdk\jre
24-Mar-2020 15:43:05.674 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 版本:              1.8.0_181-b13
24-Mar-2020 15:43:05.674 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商:            Oracle Corporation
24-Mar-2020 15:43:05.674 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\server\tomcat
24-Mar-2020 15:43:05.675 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\server\tomcat
24-Mar-2020 15:43:05.675 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\server\tomcat\conf\logging.properties
24-Mar-2020 15:43:05.676 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
24-Mar-2020 15:43:05.676 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
24-Mar-2020 15:43:05.677 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=GBK
24-Mar-2020 15:43:05.677 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
24-Mar-2020 15:43:05.677 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
24-Mar-2020 15:43:05.679 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\server\tomcat
24-Mar-2020 15:43:05.681 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\server\tomcat
24-Mar-2020 15:43:05.683 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\server\tomcat\temp
24-Mar-2020 15:43:05.690 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 安装了基于APR的Apache Tomcat Native库的旧版本[1.2.16],而Tomcat建议使用[1.2.23]的最低版本
24-Mar-2020 15:43:05.693 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3].
24-Mar-2020 15:43:05.694 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
24-Mar-2020 15:43:05.695 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL配置:useAprConnector[false],useOpenSSL[true]
24-Mar-2020 15:43:06.415 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2m  2 Nov 2017]
..........................................

1、下载tomcat-native-1.2.23-openssl-1.1.1c-win32-bin(https://tomcat.apache.org/)

2、解压tomcat-native-1.2.23-openssl-1.1.1c-win32-bin将tomcat-native-1.2.23-openssl-1.1.1c-win32-bin\bin\x64里面的tcnative-1.dll文件复制到JDK的bin目录下(替换jdk\bin目录下的tcnative-1.dll)

再次启动tomcat

24-Mar-2020 15:49:56.234 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本:     Apache Tomcat/8.5.53
24-Mar-2020 15:49:56.238 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建:            Mar 11 2020 10:01:39 UTC
24-Mar-2020 15:49:56.238 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号(:8.5.53.0
24-Mar-2020 15:49:56.239 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
24-Mar-2020 15:49:56.239 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本:               10.0
24-Mar-2020 15:49:56.239 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构:                  amd64
24-Mar-2020 15:49:56.239 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量:         C:\server\jdk\jre
24-Mar-2020 15:49:56.239 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 版本:              1.8.0_181-b13
24-Mar-2020 15:49:56.239 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商:            Oracle Corporation
24-Mar-2020 15:49:56.240 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\server\tomcat
24-Mar-2020 15:49:56.240 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\server\tomcat
24-Mar-2020 15:49:56.240 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\server\tomcat\conf\logging.properties
24-Mar-2020 15:49:56.240 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
24-Mar-2020 15:49:56.240 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
24-Mar-2020 15:49:56.241 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=GBK
24-Mar-2020 15:49:56.241 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
24-Mar-2020 15:49:56.241 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
24-Mar-2020 15:49:56.242 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\server\tomcat
24-Mar-2020 15:49:56.242 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\server\tomcat
24-Mar-2020 15:49:56.243 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\server\tomcat\temp
24-Mar-2020 15:49:56.243 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
24-Mar-2020 15:49:56.243 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
24-Mar-2020 15:49:56.244 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL配置:useAprConnector[false],useOpenSSL[true]
24-Mar-2020 15:49:56.252 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c  28 May 2019]
24-Mar-2020 15:49:56.362 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"]
24-Mar-2020 15:49:56.862 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
24-Mar-2020 15:49:56.873 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 962 ms
24-Mar-2020 15:49:56.900 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
24-Mar-2020 15:49:56.900 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.53
24-Mar-2020 15:49:56.911 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用 程序部署到目录 [C:\server\tomcat\webapps\docs]
24-Mar-2020 15:49:57.136 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\server\tomcat\webapps\docs] has finished in [223] ms
24-Mar-2020 15:49:57.136 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用 程序部署到目录 [C:\server\tomcat\webapps\examples]
24-Mar-2020 15:49:57.563 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\server\tomcat\webapps\examples] has finished in [427] ms
24-Mar-2020 15:49:57.563 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用 程序部署到目录 [C:\server\tomcat\webapps\host-manager]
24-Mar-2020 15:49:57.599 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\server\tomcat\webapps\host-manager] has finished in [35] ms
24-Mar-2020 15:49:57.599 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用 程序部署到目录 [C:\server\tomcat\webapps\manager]
24-Mar-2020 15:49:57.629 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\server\tomcat\webapps\manager] has finished in [30] ms
24-Mar-2020 15:49:57.630 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用 程序部署到目录 [C:\server\tomcat\webapps\ROOT]
24-Mar-2020 15:49:57.656 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\server\tomcat\webapps\ROOT] has finished in [26] ms
24-Mar-2020 15:49:57.659 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"]
24-Mar-2020 15:49:57.668 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 795 ms

 

 类似资料: