tomcat6 shutdown port not listening

假如想象 提交于 2019-12-11 14:40:04

问题


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 8005?

Thanks


回答1:


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.



来源:https://stackoverflow.com/questions/2217382/tomcat6-shutdown-port-not-listening

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!