我正在尝试使我的站点在本地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.
-09-18 13:12:44.963 INFO net.spy.memcached.MemcachedConnection: Reconnecting {QA sa=w1qamc03./10.50.54.34:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
-09-18 13:12:44.966 INFO net.spy.memcached.MemcachedConnection: Reconnecting {QA sa=w1qamc02./10.50.54.33:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
-09-18 13:12:44.970 INFO net.spy.memcached.MemcachedConnection: Reconnecting {QA sa=w1qamc01./10.50.54.32:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
-09-18 13:12:44.996 INFO net.spy.memcached.MemcachedConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@14ab43d0
-09-18 13:12:45.000 INFO net.spy.memcached.MemcachedConnection: Reconnecting due to failure to connect to {QA sa=w1qamc01./10.50.54.32:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
.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)
-09-18 13:12:45.002 WARN net.spy.memcached.MemcachedConnection: Closing, and reopening {QA sa=w1qamc01./10.50.54.32:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}, attempt 37.
-09-18 13:12:45.005 INFO net.spy.memcached.MemcachedConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@12edeb9d
查看更多日志后,我发现:
WARNING: Unknown default host [] for connector [Connector[HTTP/1.1-8080]]
Sep 18, 1:38:42 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 18, 1:38:42 PM org.apache.catalina.connector.MapperListener findDefaultHost
WARNING: Unknown default host [] for connector [Connector[AJP/1.3-8009]]
我不确定这是什么意思。
任何和所有帮助将不胜感激。
提前致谢,