Hi !

I think this should not appair .

I guess U don't send anything BEFORE you begin to
process the data.
I don't know if it works but try sending the first part like:
<html><head>....</head><body>
before U start to generate the report.
If this doesn't work
it would be better to try to modify the class who sends back the whole
report to
send  smaller amounts not the whole report entirely.
I have managed to keep the connection alive ( i mean not to have time out)
for more than
5 mins.  by sending a big generated  VRML  file.

Please reply.
   Best wishes,
                            Andras.


-----Original Message-----
From: Engedal Bjarte Kr�ger <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, May 16, 1999 8:34 PM
Subject: Timeout when long processing time for servlet


>Hi,
>
>I have a servlet that genereates a html-report based on data in a database,
>and parameters specified by the user. The report is generated by the
servlet
>calling another class that returns a String containing the whole report,
>this string is then written to the user with out.println(). At times the
>user may request a _large_ report that may take a while to genereat (> 1,5
>min).
>
>My problem is that the browser (or is is the servlet/webserver) goes in
>timeout after about 70 secs. The execution of the method generating the
>report is then stopped, and the user is presented with a blank white page.
>
>Does anyone have an idea of how I can increase the timeout interval for the
>clients browser (or webserver, JWS1.1.3), so that the report generating
>method may finish?
>
>Regards,
>Bjarte Kr�ger Engedal
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to