Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

out.flush() not working with mod_jk

Sven Köhler

2006-03-07

Replies:

Hi,

take a look at the following JSP-page:

<%@(protected)"%>
<%
 out.println("this should appear immediatly");
 out.flush();
 
 Thread.sleep(3000);
 
 out.println("this should appear after 3 seconds");
%>

If i load the page with FireFox directly by connecting to my Tomcat on
port 8080, it works fine. But if i load the page via apache/mod_jk on
port 80 it doesn't work.

mod_jk connects to the tomcat that also listenes on port 8080.


So something's pretty wrong here, don't you think?
Is it a bug? Or a configuration issue?


Greetings
Sven


P.S.: Tomcat 5.5.15, Apache 2.0.55, mod_jk 1.2.15


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.