I have an apache tomcat server which has recently stopped releasing the http-alt port when I shut it down. I've seen this behavior when developing client server programs, but Tomcat never seemed to have this problem before. As far as I know, nothing has changed.

Any suggestions as to what I can investigate would be appreciated. Is it possible for my servlets to prevent tomcat from shutting down correctly?

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Ensure that the process is actually stopping. The only way I can imagine for Tomcat to fail to release a port is if it is hung somehow in shutting down.

link|improve this answer
Turns out it was an issue with a log4j library being deployed where it shouldn't. Apparently, that causes problems for tomcat. See the first issue: slf4j.org/codes.html – Sam Hoice May 5 '09 at 15:40
That is to say, it was causing tomcat's shutdown to fail. – Sam Hoice May 5 '09 at 15:40
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.