Home > Back-end > Tomcat project deployment issues
Tomcat project deployment issues
Time:09-24
41.696 严重 [main] org.apache.catalina.startup.Catalina.stopServer Could not contact [localhost:[8006]]. Tomcat may not be running.11-May-2020 21:24:45.147 严重 [main] org.apache.catalina.startup.Catalina.initDirs Cannot find specified temporary folder at [C:\admin\temp]11-May-2020 21:24:46.506 警告 [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'redirectPort' to '8444 ' did not find a matching property.11-May-2020 21:24:46.725 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.3211-May-2020 21:24:46.725 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 20 2018 19:50:35 UTC11-May-2020 21:24:46.725 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.32.011-May-2020 21:24:46.725 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 201611-May-2020 21:24:46.725 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.011-May-2020 21:24:46.725 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd6411-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk1.8.0_131\jre11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_131-b1111-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\admin11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\admin11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\admin\conf\logging.properties11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=204811-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\admin11-May-2020 21:24:46.740 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\admin11-May-2020 21:24:46.756 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\admin\temp11-May-2020 21:24:46.756 信息 [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: [C:\Program Files\Java\jdk1.8.0_131\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%JAVA_HOME%\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;.]11-May-2020 21:24:47.693 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-63214"]11-May-2020 21:24:48.240 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read11-May-2020 21:24:48.303 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8010"]11-May-2020 21:24:48.318 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read11-May-2020 21:24:48.318 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 3162 ms11-May-2020 21:24:48.459 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]11-May-2020 21:24:48.459 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.3211-May-2020 21:24:48.553 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\admin\webapps\admin.war]11-May-2020 21:24:56.397 信息 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.11-May-2020 21:25:05.178 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file11-May-2020 21:25:05.194 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/admin] startup failed due to previous errors11-May-2020 21:25:05.240 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [admin] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.11-May-2020 21:25:05.240 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [admin] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.11-May-2020 21:25:05.240 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [admin] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)11-May-2020 21:25:05.240 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [admin] appears to have started a thread named [Druid-ConnectionPool-Create-126857671] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Thread.sleep(Native Method) com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2156) com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2090) com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:795) com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:44) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) java.lang.reflect.Constructor.newInstance(Constructor.java:423) com.mysql.jdbc.Util.handleNewInstance(Util.java:404) com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400) com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327) com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:148) com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211) com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142) com.alibaba.druid.filter.FilterAdapter.connection_connect(FilterAdapter.java:785) com.alibaba.druid.filter.FilterEventAdapter.connection_connect(FilterEventAdapter.java:38) com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142) com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211) com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142) com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1410) com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1464) com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1995)11-May-2020 21:25:05.256 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [admin] appears to have started a thread named [Druid-ConnectionPool-Destroy-126857671] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Thread.sleep(Native Method) com.alibaba.druid.pool.DruidDataSource$DestroyConnectionThread.run(DruidDataSource.java:2062)11-May-2020 21:25:05.287 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\admin\webapps\admin.war] has finished in [16,734] ms11-May-2020 21:25:05.303 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-63214"]11-May-2020 21:25:05.334 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8010"]11-May-2020 21:25:05.334 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 17022 ms Couldn't log card here moved to visit the project page
CodePudding user response:
There are bosses come and watch
CodePudding user response:
Server will only run the tomcat you? If run multiple tomcat, conflict of ports are changed