|
Hi,
I upgraded my app from 1.0.9 to 1.1.0, and my app
no longer works. I got a blank screen. I got the following error:
java.lang.IllegalStateException: Cannot create a
session after the response has been committed
at org.apache.catalina.connector.Request.doGetSession(Request.java:2195) at org.apache.catalina.connector.Request.getSession(Request.java:2017) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:822) at org.apache.myfaces.context.servlet.SessionMap.setAttribute(SessionMap.java:50) at org.apache.myfaces.context.servlet.AbstractAttributeMap.put(AbstractAttributeMap.java:104) at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedViewInServletSession(JspStateManagerImpl.java:321) at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:228) at org.apache.myfaces.taglib.core.ViewTag.doEndTag(ViewTag.java:122) at org.apache.jsp.common.headerBodyFooterLayout_jsp._jspx_meth_f_view_0 ....
After a few days tweaking & debugging, I
changed the value of the following setting in my web.xml:
javax.faces.STATE_SAVING_METHOD from "server" to "client", now my app starts working again. Could this be a bug?
thanks, Saul |
- Possible bug with MyFaces 1.1.0 ? Saul Qunming Yuan
- Re: Possible bug with MyFaces 1.1.0 ? Martin Marinschek

