Anonymous | Login | Signup for a new account | 12-17-2024 08:51 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004746 | [Resin] | minor | always | 09-05-11 05:01 | 10-04-11 14:52 | ||||
Reporter | cyttesen | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0004746: Reopening 0004676: javax.servlet.ServletException: Illegal attempt to set ViewHandler after a response has been rendered. | ||||||||
Description |
We are getting there but.... Deploying my JSF application to freshly downloaded Resin 4.0.22 I get the following exception: [11-09-05 13:44:35.873] {http://*:8080-1} [^] javax.servlet.ServletException: Illegal attempt to set ViewHandler after a response has been rendered. at javax.faces.webapp.FacesServlet.service(FacesServlet.java:422) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:126) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:116) at com.caucho.jsp.PageContextImpl.forward(PageContextImpl.java:1148) at _jsp._index__jsp._jspService(_index__jsp.java:55) at _jsp._index__jsp._jspService(_index__jsp.java:29) at com.caucho.jsp.JavaPage.service(JavaPage.java:64) at com.caucho.jsp.Page.pageservice(Page.java:542) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:126) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298) at com.caucho.server.webapp.RequestDispatcherImpl.dispatch(RequestDispatcherImpl.java:141) at com.caucho.server.dispatch.RewriteDispatchFilterChain.doFilter(RewriteDispatchFilterChain.java:91) at com.caucho.server.webapp.WebAppListenerFilterChain.doFilter(WebAppListenerFilterChain.java:114) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156) at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:811) at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1203) at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1164) at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1148) at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1071) at com.caucho.network.listen.TcpSocketLink.handleAcceptTask(TcpSocketLink.java:907) at com.caucho.network.listen.AcceptTask.doTask(AcceptTask.java:74) at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:97) at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:80) at com.caucho.network.listen.AcceptTask.run(AcceptTask.java:59) at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164) at com.caucho.env.thread.ResinThread.run(ResinThread.java:130) Caused by: java.lang.IllegalStateException: Illegal attempt to set ViewHandler after a response has been rendered. at com.sun.faces.application.ApplicationImpl.setViewHandler(ApplicationImpl.java:562) at org.ajax4jsf.event.InitPhaseListener.beforePhase(InitPhaseListener.java:92) at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409) ... 37 more If I remove the resin/lib/jsf*.jar libraries the application is starting and working fine. We will try and use Resin 4.0.22 going forward with the exception that we need to manually remove these jar files from the server. Let me know if this is the intended behavior. Regards, Christian Yttesen |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0005533) ferg 10-04-11 14:15 |
Updated mojarra implementation in distribution. This doesn't appear to be a Resin-specific issue. Instead it looks like a bundling issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |