[ 
https://issues.apache.org/jira/browse/COCOON-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433086#comment-13433086
 ] 

Javier Puerto commented on COCOON-2325:
---------------------------------------

I was unable to reproduce the issue with:

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

nor

java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

Attached is the files I used to try to reproduce the issue, maybe it's not the 
correct JDK. Could you try to reproduce the issue with the samples attached?
About the concurrency issue, maybe you can take a look at COCOON-2156. This 
patch is not applied to Apache Cocoon 2.2 TAG is only applied to trunk branch. 
I've experienced wrong behaviour with high concurrency with the old Apache 
Xalan, could you confirm that you are using latest version (2.7.1)?
                
> <jx:forEach...> returns exactly one item from non-empty collection under jdk 
> 1.6.0_23+
> --------------------------------------------------------------------------------------
>
>                 Key: COCOON-2325
>                 URL: https://issues.apache.org/jira/browse/COCOON-2325
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Templating
>    Affects Versions: 2.2
>            Reporter: Vasily E. Moskaljov
>            Assignee: Javier Puerto
>         Attachments: COCOON-2325.jmx, COCOON-2325.tgz
>
>
> When cocoon 2.2 running on jdk 1.6.0_23+ in some circumstances 
> <jx:forEach...> constantly return only first value from any non-empty 
> collection.
> Not affected in jdk 1.6.0_18 and lower.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to