开发者

tomcat6 shutdown port not listening

I am running tomcat6 on ubuntu9, and i specified shutdown port in server.xml to 8005. When I do netstat -tln however, i cannot see port 8005 listening. I can do tomcat6 restart|start|stop no problem.

Why is it not listening on port 80开发者_如何转开发05?

Thanks


I just ran into this problem on a previously working Tomcat installation, and in my case it was due to the init() method of a servlet not returning. I was calling a long running method in the init() body and control was never returning to the container. Once I cleared this up, Tomcat started up properly, including listening on the shutdown port.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜