tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gray, Jason" <jag...@utili-mode.com>
Subject RE: flushing output to the browser fails
Date Mon, 14 Apr 2003 02:25:24 GMT

I think it might be the 4.1.18 connector, I had a simillar problem with it.

you might want to check and see if it works with the 4.0.x connector

rgds
Jason

> -----Original Message-----
> From:	William Claxton [SMTP:williamc@openasia.net]
> Sent:	Monday,14 April 2003 12:05
> To:	tomcat-user@jakarta.apache.org
> Subject:	flushing output to the browser fails
> 
> We have a servlet that flushes output to the browser, and it works fine on
> Websphere & IIS, but it doesn't work with our Tomcat environment.  Our
> environment is RH Linux 8, Apache 2.0, and Tomcat 4.1.18.  We have
> connected Apache and Tomcat, using AJP13.
> 
> The servlet is doing a lot of backend processing, and needs to keep the
> browser connection alive by flushing a status line at the end of each loop.
>  The code that handles the output flush is very simple:
> 
> try {
> 	String str = getString("status_message");
> 	OutputStream fout = (OutputStream) vars.get("_output");
> 	fout.write(str.getBytes());
> 	fout.flush();
> } catch (Exception err) {}
> 
> Is this perhaps a configuration issue with Tomcat or the connector?
> 
> 
>         Regards, Bill Claxton [williamc@openasia.net]
>         OpenAsia Solutions provides streaming media & payment solutions.
>         Check out http://www.openasia.net
> ........:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message