tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Drake" <>
Subject Re: proxy server time outs
Date Wed, 14 Nov 2001 02:11:04 GMT
Depending on the proxy server, there may be a configurable

Your web-application should spit back the HTTP header and
the beginning of your HTML document before you start the query.
Make sure to flush the output stream.

If this is not enough, and you are producing an HTML response,
you could launch a thread in your servlet that 
kicks out a space ' ' to the servlet output stream every so often.
When your query finally completes, do whatever is necessary
to stop the thread, then close the output stream and return.

----- Original Message ----- 
From: "Evan Swanson" <>
To: "'Tomcat Users List'" <>
Sent: Tuesday, November 13, 2001 5:30 PM
Subject: proxy server time outs

| I have an application that queries a very large database. 
| It takes a long time but there does not seem to be anyway around that.
| This all works fine until I use it with a proxy server. 
| The proxy server times out because there is such a slow response.
| Is there any way to tell the proxy server "Hold on, its comming"?
| --
| To unsubscribe:   <>
| For additional commands: <>
| Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message