tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Adams <...@ifactory.com>
Subject RE: Response already committed
Date Tue, 03 Oct 2006 21:10:05 GMT
Hmm, I don't think that is the culprit. I think all of our stuff is
thread safe. We're using a framework (Tapestry) which shields us from
threading issues like that and prevents us from storing request stuff in
the session. Also, if that were the case would that cause problems when
loading static files? I don't think so.

Also, we are using a filter which when it tries to do a redirect will
throw an error complaining about this so this happens way before our app
ever gets to do anything:

ERROR: response is comitted cannot forward (this is a very strange
problem!, check you haven't done anything to the response (ie, written
to it) before here


On Tue, 2006-10-03 at 15:39 -0500, Caldarale, Charles R wrote:
> > From: Dan Adams [mailto:dan@ifactory.com] 
> > Subject: Response already committed
> > 
> > I'm getting a problem that appears to occur randomly. If I request the
> > same page in my webapp over and over most of the time it will come up
> > fine but sometimes tomcat won't return anything and I'll get a blank
> > page and this error in the log:
> > 
> > Oct 3, 2006 4:20:22 PM org.apache.jk.core.MsgContext action
> > INFO: Response already committed
> 
> Any chance that the logic in your servlet is not thread-safe?
> Repeatedly submitting requests could get more than one going at the same
> time, causing improperly scoped variables to be overwritten.  For
> example, is request-specific data being stored in the session?
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message