tomcat第一次启动很慢
2018-01-04 本文已影响0人
liuyangcc
最近在一台机器上刚刚装好jdk环境,然后上传tomcat的压缩包,解压,执行启动,发现启动很慢,于是日志信息放于此,日后查看。
log如下
04-Jan-2018 22:50:59.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.24
04-Jan-2018 22:50:59.202 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Nov 27 2017 13:05:30 UTC
04-Jan-2018 22:50:59.202 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.24.0
04-Jan-2018 22:50:59.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
04-Jan-2018 22:50:59.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-514.26.2.el7.x86_64
04-Jan-2018 22:50:59.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
04-Jan-2018 22:50:59.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /home/cpicapp/jdk1.7.0_79/jre
04-Jan-2018 22:50:59.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.7.0_79-b15
04-Jan-2018 22:50:59.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
04-Jan-2018 22:50:59.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /home/cpicapp/service-micro/tomcat_9090
04-Jan-2018 22:50:59.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /home/cpicapp/service-micro/tomcat_9090
04-Jan-2018 22:50:59.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/home/cpicapp/service-micro/tomcat_9090/conf/logging.properties
04-Jan-2018 22:50:59.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
04-Jan-2018 22:50:59.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
04-Jan-2018 22:50:59.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
04-Jan-2018 22:50:59.205 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
04-Jan-2018 22:50:59.205 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/cpicapp/service-micro/tomcat_9090
04-Jan-2018 22:50:59.205 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/home/cpicapp/service-micro/tomcat_9090
04-Jan-2018 22:50:59.205 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/cpicapp/service-micro/tomcat_9090/temp
04-Jan-2018 22:50:59.205 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 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]
04-Jan-2018 22:50:59.350 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9090"]
04-Jan-2018 22:50:59.365 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
04-Jan-2018 22:50:59.374 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-9009"]
04-Jan-2018 22:50:59.376 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
04-Jan-2018 22:50:59.377 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 863 ms
04-Jan-2018 22:50:59.413 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
04-Jan-2018 22:50:59.413 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.24
04-Jan-2018 22:50:59.458 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/docs]
04-Jan-2018 22:55:27.898 WARNING [localhost-startStop-1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [267,770] milliseconds.
04-Jan-2018 22:55:27.924 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/docs] has finished in [268,466] ms
04-Jan-2018 22:55:27.924 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/manager]
04-Jan-2018 22:55:27.974 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/manager] has finished in [50] ms
04-Jan-2018 22:55:27.974 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/host-manager]
04-Jan-2018 22:55:28.006 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/host-manager] has finished in [32] ms
04-Jan-2018 22:55:28.006 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/ROOT]
04-Jan-2018 22:55:28.028 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/ROOT] has finished in [22] ms
04-Jan-2018 22:55:28.029 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/examples]
04-Jan-2018 22:55:28.496 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/cpicapp/service-micro/tomcat_9090/webapps/examples] has finished in [467] ms
04-Jan-2018 22:55:28.534 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-9090"]
04-Jan-2018 22:55:28.552 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-9009"]
04-Jan-2018 22:55:28.555 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 269177 ms