Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA_P02
-
Fix Version/s: EE-1.8.2.GA_P03
-
Component/s: Framework
-
Labels:None
-
Environment:ICEFaces 1.8 P02, Spring webflow 1.0.5, WebSphere AS
Description
There are a couple of Spring Webflow related issues reported. This case details ongoing efforts in both.
What we have is an application that wont start in Websphere. Trying to load the initial page shows the following error in the log:
Caused by: java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained
at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:591)
at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:414)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:150)
at org.springframework.faces.webflow.JsfView.render(JsfView.java:97)
at org.springframework.webflow.engine.ViewState.render(ViewState.java:253)
at org.springframework.webflow.engine.ViewState.resume(ViewState.java:208)
at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259)
What we have is an application that wont start in Websphere. Trying to load the initial page shows the following error in the log:
Caused by: java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained
at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:591)
at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:414)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:150)
at org.springframework.faces.webflow.JsfView.render(JsfView.java:97)
at org.springframework.webflow.engine.ViewState.render(ViewState.java:253)
at org.springframework.webflow.engine.ViewState.resume(ViewState.java:208)
at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259)
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
Ken Fyten
made changes -
Component/s | Framework [ 10013 ] |
Ken Fyten
made changes -
Summary | Issues with ICEFaces 1.8 p02 and Spring Webflow | Issues with ICEFaces 1.8.x Spring Webflow, and WebSphere AS |
Issue Type | Task [ 3 ] | Bug [ 1 ] |
Environment | ICEFaces 1.8 P02, Spring webflow 1.0.5 | ICEFaces 1.8 P02, Spring webflow 1.0.5, WebSphere AS |
Security | Private [ 10001 ] |
Greg Dick
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24566 | Thu May 12 15:42:37 MDT 2011 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/env/SpringWebFlowInstantiationServlet.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24565 | Thu May 12 15:42:23 MDT 2011 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/util/SeamUtilities.java
|
Ken Fyten
made changes -
Assignee Priority | P2 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24190 | Thu Mar 17 13:20:07 MDT 2011 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/D2DViewHandler.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24189 | Thu Mar 17 13:19:38 MDT 2011 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/ImplementationUtil.java
|
Tyler Johnson
made changes -
Salesforce Case | [5007000000F6b1e] |
Greg Dick
made changes -
Salesforce Case | [] | |
Description |
There are a couple of Spring Webflow related issues reported. This case details ongoing efforts in both. What we have is an application that wont start in Websphere. Trying to load the initial page shows the following error in the log: Caused by: java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:591) at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:414) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:150) at org.springframework.faces.webflow.JsfView.render(JsfView.java:97) at org.springframework.webflow.engine.ViewState.render(ViewState.java:253) at org.springframework.webflow.engine.ViewState.resume(ViewState.java:208) at org.springframework.webflow.engine.Flow.resume(Flow.java:545) at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259) |
There are a couple of Spring Webflow related issues reported. This case details ongoing efforts in both. What we have is an application that wont start in Websphere. Trying to load the initial page shows the following error in the log: Caused by: java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:591) at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:414) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:150) at org.springframework.faces.webflow.JsfView.render(JsfView.java:97) at org.springframework.webflow.engine.ViewState.render(ViewState.java:253) at org.springframework.webflow.engine.ViewState.resume(ViewState.java:208) at org.springframework.webflow.engine.Flow.resume(Flow.java:545) at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259) |
Tyler Johnson
made changes -
Salesforce Case | [] | |
Description |
There are a couple of Spring Webflow related issues reported. This case details ongoing efforts in both. What we have is an application that wont start in Websphere. Trying to load the initial page shows the following error in the log: Caused by: java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:591) at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:414) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:150) at org.springframework.faces.webflow.JsfView.render(JsfView.java:97) at org.springframework.webflow.engine.ViewState.render(ViewState.java:253) at org.springframework.webflow.engine.ViewState.resume(ViewState.java:208) at org.springframework.webflow.engine.Flow.resume(Flow.java:545) at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259) A support case arriving at the same time has the following description: The customer has the following issue with Spring Webflow: 1) Select a row of an ice:dataTable using the ice:rowSelector. 2) Now that a row has been selected, we can navigate to another view and perform certain actions on that row. 3) Exit this view and return to the screen containing the ice:dataTable and the originally selected row. 4) The row is no longer selected in the table After looking at their application, I noticed that they had redirect-on-pause set to false which seems to play a part in the following ways: 1) Keeping redirect-on-pause set to false, the row selection state is maintained but pressing F5 causes the entire flow to restart. 2. Removing the redirect-on-pause parameter (defaults to true) resolves the F5 refresh issue but now row selection state is not maintained during navigations within the flow. Do you guys know how best to maintain row selected state when moving between views in a flow? As a side note, the customer claims that that prior to 1.8.2 (1.7.1), having redirect-on-pause set to false did not lead to the F5 issue or row selection state. Everything worked perfectly. |
There are a couple of Spring Webflow related issues reported. This case details ongoing efforts in both. What we have is an application that wont start in Websphere. Trying to load the initial page shows the following error in the log: Caused by: java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:591) at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:414) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:150) at org.springframework.faces.webflow.JsfView.render(JsfView.java:97) at org.springframework.webflow.engine.ViewState.render(ViewState.java:253) at org.springframework.webflow.engine.ViewState.resume(ViewState.java:208) at org.springframework.webflow.engine.Flow.resume(Flow.java:545) at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259) |
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 1.8.2-EE-GA_P03 [ 10251 ] | |
Assignee | Greg Dick [ greg.dick ] |
Greg Dick
created issue -
I have changed the code in SeamUtilities so that instead of calling a getter on the SpringWebflowInstantiationServlet to fetch the flag, the SpringWebflowInstantiationServlet can now call a static setter on the SeamUtilities class. This prevents the order of operations error seen before. It's true that the SeamUtilities class is still loaded through a call chain from one of the other servlets, but I added a call to re-evaluate the Spring settings on startup and this works in WebSphere where we were having the problems.