[JBoss JIRA] Created: (RF-3631) ConcurrentModificationException during session serialization
by Stanimir Stamenkov (JIRA)
ConcurrentModificationException during session serialization
------------------------------------------------------------
Key: RF-3631
URL: http://jira.jboss.com/jira/browse/RF-3631
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0, 3.1.5
Environment: JBboss 4.2.2.GA
Seam 2.0.2.SP1
JDK 1.5.0_15
Windows XP Pro SP2
Reporter: Stanimir Stamenkov
Concurrent requests cause java.util.ConcurrentModificationException during session serialization in cluster environment.
I've initially posted this issue to the RichFaces users forum, but then posted to the Clustering/JBoss, too:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=136590
where I've got feedback I'm on the right track my problem is probably caused by the RichFaces (Ajax4Jsf) library. Basically the web session gets modified while it is been serialized when concurrent requests are made. bstansberry(a)jboss.com have written:
"The session management layer does not prevent concurrent access to the session. The session's internal data structures can deal with concurrency (e.g. the attribute map is a ConcurrentHashMap) but if the objects you'll store in it are going to be accessed concurrently, they'll need to be thread safe or have access to them synchronized."
I've prepared minimal test case (I'm about to attach) demonstrating the problem. I've tried it with both RichFaces 3.1.5.GA (part of Seam 2.0.2.SP1) and RichFaces 3.2.0.SR1 (which I'm using with my application).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[JBoss JIRA] Created: (RF-3376) JDK 1.4 support: StringBuffer has no CharSequence constructor
by Nick Belaevski (JIRA)
JDK 1.4 support: StringBuffer has no CharSequence constructor
-------------------------------------------------------------
Key: RF-3376
URL: http://jira.jboss.com/jira/browse/RF-3376
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Reporter: Nick Belaevski
Assigned To: Nick Belaevski
Priority: Critical
Fix For: 3.1.6
java.lang.NoSuchMethodError: java.lang.StringBuffer: method <init>(Ljava/lang/CharSequence;)V not found
at org.richfaces.renderkit.CompositeRenderer.escapeHtmlEntities(CompositeRenderer.java:244)
at org.richfaces.renderkit.html.DropSupportRenderer.encodeEnd(DropSupportRenderer.java:110)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:199)
at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:194)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:465)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:253)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:
79)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:629)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:566)
at com.ibm._jsp._shoppingCartMenu._jspx_meth_a4j_outputPanel_0(_shoppingCartMenu.java:1325)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months