主题 : linux 部署tomcat 启动404
级别: 商业授权用户
UID: 19333
积分:1142 加为好友
威望: 6 精华: 0
主题:125 回复:632
注册时间:2011-05-09
在线时长:0
1#   发表于:2019-02-11 11:05:21  IP:60.79.*.*
11-Feb-2019 09:34:09.697 信息 [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
11-Feb-2019 09:34:09.697 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
11-Feb-2019 09:34:09.748 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
11-Feb-2019 09:34:09.798 信息 [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
11-Feb-2019 09:34:09.818 信息 [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
11-Feb-2019 09:34:09.819 信息 [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
11-Feb-2019 09:34:09.822 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
11-Feb-2019 09:34:09.823 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
11-Feb-2019 09:34:16.321 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.52
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Apr 28 2018 16:24:29 UTC
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.52.0
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            2.6.32-279.el6.x86_64
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/jdk1.8/jre
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_201-b09
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
11-Feb-2019 09:34:16.325 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
11-Feb-2019 09:34:16.326 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
11-Feb-2019 09:34:16.326 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
11-Feb-2019 09:34:16.326 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
11-Feb-2019 09:34:16.326 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
11-Feb-2019 09:34:16.326 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
11-Feb-2019 09:34:16.326 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
11-Feb-2019 09:34:16.326 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
11-Feb-2019 09:34:16.326 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
11-Feb-2019 09:34:16.327 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
11-Feb-2019 09:34:16.327 信息 [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
11-Feb-2019 09:34:16.437 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
11-Feb-2019 09:34:16.448 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Feb-2019 09:34:16.450 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
11-Feb-2019 09:34:16.451 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Feb-2019 09:34:16.451 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 428 ms
11-Feb-2019 09:34:16.470 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
11-Feb-2019 09:34:16.471 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.52
11-Feb-2019 09:34:16.477 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/ROOT
11-Feb-2019 09:34:20.184 信息 [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-Feb-2019 09:34:27.371 严重 [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 file
11-Feb-2019 09:34:27.375 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
11-Feb-2019 09:34:27.381 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] 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-Feb-2019 09:34:27.381 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Timer-0] 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.util.TimerThread.mainLoop(Timer.java:552)
 java.util.TimerThread.run(Timer.java:505)
11-Feb-2019 09:34:27.382 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] 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)
 com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)
11-Feb-2019 09:34:27.382 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] 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)
 com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)
11-Feb-2019 09:34:27.382 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] 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)
 com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)
11-Feb-2019 09:34:27.383 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [MySQL Statement Cancellation Timer] 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.Object.wait(Object.java:502)
 java.util.TimerThread.mainLoop(Timer.java:526)
 java.util.TimerThread.run(Timer.java:505)
11-Feb-2019 09:34:27.387 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/ROOT has finished in 10,910 ms
11-Feb-2019 09:34:27.387 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/docs
11-Feb-2019 09:34:27.407 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/docs has finished in 20 ms
11-Feb-2019 09:34:27.407 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/examples
11-Feb-2019 09:34:27.417 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/examples has finished in 10 ms
11-Feb-2019 09:34:27.417 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/host-manager
11-Feb-2019 09:34:27.425 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/host-manager has finished in 8 ms
11-Feb-2019 09:34:27.426 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/manager
11-Feb-2019 09:34:27.433 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/manager has finished in 8 ms
11-Feb-2019 09:34:27.438 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
11-Feb-2019 09:34:27.443 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
11-Feb-2019 09:34:27.444 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 10992 ms
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
2#   发表于:2019-02-11 11:08:11  IP:117.131.*.*
您看下您的jdbc链接的数据库是对的嘛?
每天告诉自己一次,“我真的很不错”。
级别: 商业授权用户
UID: 19333
积分:1142 加为好友
威望: 6 精华: 0
主题:125 回复:632
注册时间:2011-05-09
在线时长:0
3#   发表于:2019-02-11 11:14:30  IP:60.79.*.*
回复第2楼 正确
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
4#   发表于:2019-02-11 11:16:23  IP:117.131.*.*
您好   您可以看下您的这段报错信息
11-Feb-2019 09:34:27.381 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] 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
每天告诉自己一次,“我真的很不错”。
级别: 商业授权用户
UID: 19333
积分:1142 加为好友
威望: 6 精华: 0
主题:125 回复:632
注册时间:2011-05-09
在线时长:0
5#   发表于:2019-02-11 11:16:25  IP:60.79.*.*
回复第2楼
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
6#   发表于:2019-02-11 11:20:05  IP:117.131.*.*
您好   您可以看下您的这段报错信息 
11-Feb-2019 09:34:27.381 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] 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
每天告诉自己一次,“我真的很不错”。
级别: 商业授权用户
UID: 19333
积分:1142 加为好友
威望: 6 精华: 0
主题:125 回复:632
注册时间:2011-05-09
在线时长:0
7#   发表于:2019-02-12 08:42:02  IP:60.79.*.*
回复第4楼

级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
8#   发表于:2019-02-12 08:58:15  IP:117.131.*.*
回复第7楼
每天告诉自己一次,“我真的很不错”。
级别: 商业授权用户
UID: 19333
积分:1142 加为好友
威望: 6 精华: 0
主题:125 回复:632
注册时间:2011-05-09
在线时长:0
9#   发表于:2019-02-12 09:41:22  IP:60.79.*.*
回复第6楼
请问这个怎么解决?
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
10#   发表于:2019-02-12 09:49:09  IP:117.131.*.*
每天告诉自己一次,“我真的很不错”。
1 2 3 4 5 6 7 8 9 10 > >| 共12页