java503错误是什么_java - Tomcat 503错误 - 堆栈内存溢出

本文描述了作者在尝试使网站在本地Tomcat服务器上运行时遇到的HTTP 503错误,并分享了尝试解决该问题的过程及部分日志信息。包括非法访问警告、资源加载失败以及Memcached连接问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我正在尝试使我的站点在本地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]]

我不确定这是什么意思。

任何和所有帮助将不胜感激。

提前致谢,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值