Tomcat 503错误

时间:2017-09-18 17:18:14

标签: java tomcat http-status-code-503

我正在尝试让我的网站在本地Tomcat服务器上运行。但是,当我运行它时它只返回一个HTTP错误503.我尝试增加线程并设置socket_keepalive="true"但我无法弄清楚它为什么不起作用。

这些是它返回的日志。

INFO: Illegal access: this web application instance has been stopped already.  Could not load THING/env/resource/bundlerService_dev.properties.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2017-09-18 13:12:44.963 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=w1qamc03.web1.PLACE.net/10.50.54.34:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
2017-09-18 13:12:44.966 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=w1qamc02.web1.PLACE.net/10.50.54.33:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
2017-09-18 13:12:44.970 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=w1qamc01.web1.PLACE.net/10.50.54.32:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
2017-09-18 13:12:44.996 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for sun.nio.ch.SelectionKeyImpl@14ab43d0
2017-09-18 13:12:45.000 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to failure to connect to {QA sa=w1qamc01.web1.PLACE.net/10.50.54.32:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
java.net.ConnectException: Operation timed out
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:629)
    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:409)
    at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1334)
2017-09-18 13:12:45.002 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=w1qamc01.web1.PLACE.net/10.50.54.32:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}, attempt 37.
2017-09-18 13:12:45.005 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for sun.nio.ch.SelectionKeyImpl@12edeb9d

查看更多日志后,我发现:

WARNING: Unknown default host [local.wwe.com] for connector [Connector[HTTP/1.1-8080]]
Sep 18, 2017 1:38:42 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 18, 2017 1:38:42 PM org.apache.catalina.connector.MapperListener findDefaultHost
WARNING: Unknown default host [local.wwe.com] for connector [Connector[AJP/1.3-8009]]

我不完全确定这意味着什么。

非常感谢任何和所有帮助。

提前致谢,

0 个答案:

没有答案