NutzCN Logo
问答 启动tomcat报错
发布于 2679天前 作者 bb3239 2428 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

启动tomcat报错

22-Aug-2017 09:02:13.686 严重 [main] org.apache.catalina.startup.Catalina.stopServer Could not contact localhost:8005. Tomcat may not be running.
22-Aug-2017 09:02:13.686 严重 [main] org.apache.catalina.startup.Catalina.stopServer Catalina.stop: 
 java.net.ConnectException: Connection refused: connect
	at java.net.DualStackPlainSocketImpl.connect0(Native Method)
	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at java.net.Socket.connect(Socket.java:538)
	at java.net.Socket.<init>(Socket.java:434)
	at java.net.Socket.<init>(Socket.java:211)
	at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:450)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:400)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:487)

22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.43
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 28 2017 14:42:59 UTC
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.43.0
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jdk1.8.0_121\jre
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_121-b13
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         G:\apache-tomcat-8.0.43-windows-x64\apache-tomcat-8.0.43
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         G:\apache-tomcat-8.0.43-windows-x64\apache-tomcat-8.0.43
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=G:\Web\apache-tomcat-8.0.43-windows-x64\apache-tomcat-8.0.43\conf\logging.properties
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=G:\apache-tomcat-8.0.43-windows-x64\apache-tomcat-8.0.43\endorsed
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=G:\apache-tomcat-8.0.43-windows-x64\apache-tomcat-8.0.43
22-Aug-2017 09:02:15.771 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=G:\apache-tomcat-8.0.43-windows-x64\apache-tomcat-8.0.43
22-Aug-2017 09:02:15.787 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=G:\apache-tomcat-8.0.43-windows-x64\apache-tomcat-8.0.43\temp
22-Aug-2017 09:02:15.787 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.12 using APR version 1.5.2.
22-Aug-2017 09:02:15.787 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
22-Aug-2017 09:02:16.287 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2k  26 Jan 2017)
22-Aug-2017 09:02:16.380 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"]
22-Aug-2017 09:02:16.396 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8009"]
22-Aug-2017 09:02:16.396 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 892 ms
22-Aug-2017 09:02:16.412 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
22-Aug-2017 09:02:16.412 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.43
22-Aug-2017 09:02:16.427 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive G:\apache-tomcat-8.0.43-windows-x64\apache-tomcat-8.0.43\webapps\heal.war
22-Aug-2017 09:02:18.474 信息 [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.

3 回复

你贴的日志是stop命令的

@wendal 我刚刚重新启动,又可以了,这段时间我什么都没做,没碰过那台电脑,出现这样诡异的问题,对于我们小白来说,真心不好办,汗······

tomcat的坑多着呢

添加回复
请先登陆
回到顶部