tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gwen Way" <>
Subject RE: "Exception Initializing Page Context"
Date Wed, 19 Aug 2009 13:55:54 GMT
Thank you, Mark.  I appreciate you taking the time to get back to me on

I've been doing a little more research and it seems that there were no
updates this week for Tomcat and nothing has changed in terms of this
CentOS server or are application.  It does not seem that a change in
network architecture would create such an error, although I could be
wrong.  As this particular error has made its appearance in the last two
days, there must have been some kind of change.  Could you recommend a
place I should start investigating to see what would cause a session to
alter how and when it opens?

Again, thank you.

Gwen Way
Support Analyst
CyberSource Corporation
Phone - 512-680-9243
Fax - 650-210-2456

-----Original Message-----
From: Mark Thomas [] 
Sent: Tuesday, August 18, 2009 4:40 PM
To: Tomcat Users List
Subject: Re: "Exception Initializing Page Context"

Gwen Way wrote:
> java.lang.IllegalStateException: Cannot create a session after the
> response has been committed 

Seems pretty clear.

Creating a session requires setting some headers (to send the session
cookie to the client). You can't do that after the response has been
committed (usually after a few kilobytes of data has been written).

The solution? Create your session earlier, ideally before yousend any
content to the client.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message