| Author |
Tomcat Throwing error
|
Dean Chester
Ranch Hand
Joined: Jul 26, 2009
Posts: 31
|
|
Tomcat6 keeps throwing this error and i don't understand it:
27-Jul-2009 11:03:26 org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext
SEVERE: Exception initializing page context
java.lang.IllegalStateException: Cannot create a session after the response has been committed
If anyone can help then let me know
Thanks in adavance.
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
Can you show us the code relete to this which will help to resolve (as the error message gives some idea about it) ?
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
Dean Chester
Ranch Hand
Joined: Jul 26, 2009
Posts: 31
|
|
I think its this as if i change the Boolean variable it doesn't throw the error yet doesn't work
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
|
What is there before the given statement? You may have commited the response already ?
|
 |
Dean Chester
Ranch Hand
Joined: Jul 26, 2009
Posts: 31
|
|
This is all there is.
|
 |
Dean Chester
Ranch Hand
Joined: Jul 26, 2009
Posts: 31
|
|
LAter on in the error report it says that this line in the code is the problem. If this helps.
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
Looks like the response was commited, and then you tried to do a redirect or forward.
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
 |
|
|
subject: Tomcat Throwing error
|
|
|