On 2/21/06, Sean Neeley <[EMAIL PROTECTED]> wrote:

> I'm using APR 1.2.2 with Tomcat 5.5.15.  Occasionally I need to restart the
> JVM, and so I have one of my servlets call System.exit(0).  When using the
> APR libraries with tomcat, exiting the JVM in this manor leaves port 8009 in
> the FIN_WAIT2 state (see netstat man page).  This prevents me from starting
> tomcat back up immediately.  I receive an error saying that the tomcat port
> is already bound.  If I remove the APR libraries so that tomcat does not use
> them, I no longer encounter this problem.  Can someone help?  I would like
> to use APR, but this problem prevents me.  Thanks.

That sounds like a Tomcat bug to me.  There's nothing intrinsic in the
APR libraries that require it to behave that way.

-garrett

Reply via email to