httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rink <kaw...@zimmer428.net>
Subject [users@httpd] apache 2.0.x, tomcat/glassfish: ClientAbortException?
Date Tue, 08 Jul 2008 09:21:53 GMT
Hi all;

dealing with a peculiar problem in our environment, running apache 2.0.x
(Ubuntu 6.06.1) fronting our backend systems (tomcat 6.x, glassfish
v2u2) using mod_rewrite: In quite a bunch of situations we suffer from
ClientAbortExceptions like these whenever someone tries downloading a
larger binary file off one of our Java EE web applications:


[...]
ClientAbortException:  java.io.IOException: Connection reset by peer
	at
org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:412)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:417)
	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:339)
	at org.apache.coyote.tomcat5.OutputBuffer.writeBytes(OutputBuffer.java:437)
	at org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:424)
	at
org.apache.coyote.tomcat5.CoyoteOutputStream.write(CoyoteOutputStream.java:145)
	at
[...]


Files are dynamically assembled by the webapp and then sent to the
corresponsing response output inside the web application; these
exceptions in most of the situation don't seem to cause any harm but
sometimes obviously make the client (i.e. the real end users browser)
stop the download early, resulting in corrupting files being downloaded.
apache2 access/error logs don't show anything making me think about this
however, so I feel pretty helpless right now... We generally use
mod_rewrite and statements like these...

RewriteRule ^/<app>/(.*) http://<srv>:8080/<app>/$1 [P,L]


to access the backend systems. Does anyone have any idea what could be
the problem here and how to eventually resolve this issue?

TIA and best regards,
Kristian


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message