Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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