Hello!

I read once that if the browser requesting a page is closed, Tomcat would
throw an exception and stop processing the requested page.

We have pages where we get Database connections from a connection pool.
After processing, on the end of the JSP page, we return the connection to
the pool. We have been noticing that sometimes connections remaine as being
used forever.

Now... If it is really true that tomcat throws exception when page requester
closes socket, this explains the lost resources. Is there a way for me to
tell Tomcat NOT to stop processing so that the connection is returned to the
pool?

Another scenario... If I have Apache receiving the browser requests and
forwarding jsp processing to Tomcat (using Ajp12), if the browser closes,
does Apache forward the "quit notice" to Tomcat and it also throws
exception?

If I can't tell to Tomcat not to throw exception, can I tell Apache not to
signal Tomcat about browser closure?

Thanks for your time!

Duarte "HappyGuy" Loreto

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to