This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am using WAS 22.214.171.124 and JSF 2.0+ Richfaces 4. I keep getting this error :The response is already committed to the client.
I have a single page that is rendered, but when i click the button mapped to the managed bean method nothing happens. Last night the app was working without any problem. This morning it stopped, and the only modification i did was configuring WAS to stop publishing automatically. I really don't have a clue what might be the problem. I guess the session expires right after the page is rendered..Tried with no expiring session but still nothing
WASSessionCor W SessionAffinityManager setCookie SESN0066E: The response is already committed to the client. The session cookie cannot be set.
srt W com.ibm.ws.webcontainer.srt.SRTServletResponse addSessionCookie WARNING: Cannot set session cookie. Response already committed
I addition when i first run the app it throws:
context W JSF1091: No mime type could be found for file combo_list_shadow.png. To resolve this, add a mime-type mapping to the applications web.xml.
really don't know what is up with this one ...i don't have any png file..maybe from richfaces calendar i think
If you need code just let me know.
Joined: Feb 18, 2008
I am still struggling with this problem...
I've tested the application on JBoss 6 and everything works fine...After searching deeper i have found that the core problem is actually that JSF is not able to save the state on server. if I configure the application to save the state of the page on client everything works just fine. So the problem in my opinion is due to some WAS configuration issue, not the code as I have expected...If i save the state on server, click a h:commandLink will throw View could not be restored error.
Bellow is my web.xml file:
My faces-config file contains only the dtd schema for 2.0 version
my page is bellow:
i am stuck on this one for a while so I appreciate any help