Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 49551 invoked from network); 14 Nov 2001 02:07:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Nov 2001 02:07:45 -0000 Received: (qmail 24935 invoked by uid 97); 14 Nov 2001 02:07:30 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 24897 invoked by uid 97); 14 Nov 2001 02:07:29 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 24886 invoked from network); 14 Nov 2001 02:07:28 -0000 Message-ID: <08a801c16cb1$9d6f8ff0$ec960040@allegro> Reply-To: "Tom Drake" From: "Tom Drake" To: "Tomcat Users List" References: Subject: Re: proxy server time outs Date: Tue, 13 Nov 2001 18:11:04 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Depending on the proxy server, there may be a configurable time-out. 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: