[jira] Subscription: COCOON-open-with-patch
Issue Subscription Filter: COCOON-open-with-patch (108 issues) Subscriber: cocoon Key Summary COCOON-2233 Update archetypes to current trunk artifact versions https://issues.apache.org/jira/browse/COCOON-2233 COCOON- Add SaxParser configuration properties https://issues.apache.org/jira/browse/COCOON- COCOON-2217 HttpServletResponseBufferingWrapper throws NPE when response body is empty https://issues.apache.org/jira/browse/COCOON-2217 COCOON-2216 IncludeCacheManager can not perfom parallel includes https://issues.apache.org/jira/browse/COCOON-2216 COCOON-2212 jx:attribute does not check name is correct before proceeding https://issues.apache.org/jira/browse/COCOON-2212 COCOON-2211 Support for jx:element https://issues.apache.org/jira/browse/COCOON-2211 COCOON-2210 The field 'type' in GenerateNode in corona-sitemap should not be final https://issues.apache.org/jira/browse/COCOON-2210 COCOON-2197 Making the cocoon-auth-block acegi-security-sample work https://issues.apache.org/jira/browse/COCOON-2197 COCOON-2173 AbstractCachingProcessingPipeline: Two requests can deadlock each other https://issues.apache.org/jira/browse/COCOON-2173 COCOON-2162 [PATCH] Fix for Paginator when accessing out of bounds Pagination page https://issues.apache.org/jira/browse/COCOON-2162 COCOON-2137 XSD Schemas for CForms Development https://issues.apache.org/jira/browse/COCOON-2137 COCOON-2114 fix sorting in TraversableGenerator https://issues.apache.org/jira/browse/COCOON-2114 COCOON-2108 xmodule:flow-attr Does not accept document objects https://issues.apache.org/jira/browse/COCOON-2108 COCOON-2104 [PATCH] Add base URI fixup support to XIncludeTransformer https://issues.apache.org/jira/browse/COCOON-2104 COCOON-2100 Retrieving mimeType returned by pipeline executed from Flow https://issues.apache.org/jira/browse/COCOON-2100 COCOON-2071 Option to turn off pooling for components (probably faster on new JVMs and simpler debugging) https://issues.apache.org/jira/browse/COCOON-2071 COCOON-2041 WebDAV Returns improper status on PUT https://issues.apache.org/jira/browse/COCOON-2041 COCOON-2040 Union widget does not work with booleanfield set as case widget https://issues.apache.org/jira/browse/COCOON-2040 COCOON-2037 New DynamicGroup widget https://issues.apache.org/jira/browse/COCOON-2037 COCOON-2035 NPE in the sorter of the EnhancedRepeater https://issues.apache.org/jira/browse/COCOON-2035 COCOON-2032 [PATCH] Sort order in paginated repeater https://issues.apache.org/jira/browse/COCOON-2032 COCOON-2030 submit-on-change doesn't work for a multivaluefield with list-type=checkbox https://issues.apache.org/jira/browse/COCOON-2030 COCOON-2018 Use thread context class loader to load custom binding classes https://issues.apache.org/jira/browse/COCOON-2018 COCOON-2017 More output beautification options for serializers https://issues.apache.org/jira/browse/COCOON-2017 COCOON-2015 Doctype added twice because root element (html) is inlined https://issues.apache.org/jira/browse/COCOON-2015 COCOON-2002 HTML transformer only works with latin-1 characters https://issues.apache.org/jira/browse/COCOON-2002 COCOON-1974 Donating ContextAttributeInputModule https://issues.apache.org/jira/browse/COCOON-1974 COCOON-1973 CaptchaValidator: allow case-insensitive matching https://issues.apache.org/jira/browse/COCOON-1973 COCOON-1964 Redirects inside a block called via the servlet protocol fail https://issues.apache.org/jira/browse/COCOON-1964 COCOON-1963 Add a redirect action to the browser update handler https://issues.apache.org/jira/browse/COCOON-1963 COCOON-1960 Pipeline errors for generator/reader already set should provide more information https://issues.apache.org/jira/browse/COCOON-1960 COCOON-1949 [PATCH] load flowscript from file into specified Rhino context object https://issues.apache.org/jira/browse/COCOON-1949 COCOON-1946 [PATCH] - Javaflow Sample errors trying to enhance Javaflow classes and showing cform templates https://issues.apache.org/jira/browse/COCOON-1946 COCOON-1943 [Patch] Parameters in blocks-protocol URIs get decoded too early https://issues.apache.org/jira/browse/COCOON-1943 COCOON-1932 [PATCH] correct styling of disabled suggestion lists https://issues.apache.org/jira/browse/COCOON-1932 COCOON-1929 [PATCH] Reloading classloader in Cocoon 2.2 https://issues.apache.org/jira/browse/COCOON-1929 COCOON-1917 Request Encoding problem: multipart/form vs. url encoded https://issues.apache.org/jira/browse/COCOON-1917 COCOON-1915 Nullable value with additional String or
Javaflow in C2.2
Hi, I tried to use Javaflow within C2.2. I instrumented the Invoker.class of the javaflow-impl archive using the AntRewriteTask. Also, I instrumented my javaflow-bean. But I still get an error message. Do you have any idea? Kind regards, Rainer 2008-09-17 23:03:21,842 DEBUG http-8080-Processor25 cocoon.flow.manager - WK: Created continuation 2276383467632d761f8d004e4c452e411e21183b 2008-09-17 23:03:21,842 DEBUG http-8080-Processor25 org.apache.cocoon.components.flow.java.JavaInterpreter - resuming javaflow continuation [EMAIL PROTECTED]/[EMAIL PROTECTED] 2008-09-17 23:03:21,842 DEBUG http-8080-Processor25 org.apache.commons.javaflow.Continuation - continueing with continuation [EMAIL PROTECTED]/[EMAIL PROTECTED] 2008-09-17 23:03:21,842 DEBUG http-8080-Processor25 org.apache.commons.javaflow.bytecode.StackRecorder - Restoring state of [EMAIL PROTECTED]/[EMAIL PROTECTED] 2008-09-17 23:03:21,843 DEBUG http-8080-Processor25 org.apache.commons.javaflow.bytecode.StackRecorder - calling runnable 2008-09-17 23:03:21,843 DEBUG http-8080-Processor25 org.apache.commons.javaflow.bytecode.Stack - pop int 2 i[1],l[0],d[0],f[0],o[4],r[1] 2008-09-17 23:03:21,843 DEBUG http-8080-Processor25 org.apache.commons.javaflow.bytecode.Stack - pop object [EMAIL PROTECTED]/[EMAIL PROTECTED] [EMAIL PROTECTED] 2008-09-17 23:03:21,843 DEBUG http-8080-Processor25 org.apache.commons.javaflow.bytecode.Stack - pop object [EMAIL PROTECTED]/[EMAIL PROTECTED] [EMAIL PROTECTED] 2008-09-17 23:03:21,843 DEBUG http-8080-Processor25 org.apache.commons.javaflow.bytecode.Stack - pop reference [EMAIL PROTECTED]/[EMAIL PROTECTED] [EMAIL PROTECTED] i[1],l[0],d[0],f[0],o[2],r[0] 2008-09-17 23:03:21,843 ERROR http-8080-Processor25 org.apache.commons.javaflow.bytecode.StackRecorder - org.cocoontest.javaflow.CFormsFlow java.lang.ClassCastException: org.cocoontest.javaflow.CFormsFlow at org.apache.cocoon.components.flow.java.Invoker.run(Invoker.java) at org.apache.commons.javaflow.bytecode.StackRecorder.execute(StackRecorder.java:95) at org.apache.commons.javaflow.Continuation.continueWith(Continuation.java:170) at org.apache.cocoon.components.flow.java.JavaInterpreter.handleContinuation(JavaInterpreter.java:185) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:94) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55 ) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78 ) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78 ) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:241) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:173) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:247) at org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:347) at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:169)
[jira] Commented: (COCOON-2216) IncludeCacheManager can not perfom parallel includes
[ https://issues.apache.org/jira/browse/COCOON-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12632014#action_12632014 ] Grzegorz Kossakowski commented on COCOON-2216: -- Hello Christoph and Imran. First of all I want to say that I did *not* forget about this issue and I've spent lots of time working on it. Actually I did not report or share anything because I felt somehow embarrassed by the fact that I've taken four different (from scratch) attempts to tackle this issue without any significant success. This problem is even more difficult (at least to me) than I thought, unfortunately. Right now I'm working on fifth attempt which is probably the ugliest design I've ever made but I have really no clue how to make it better. I'm just in process of fixing broken ITs and test cases. I hope to have something workable tomorrow (I expect to have a whole day free so I should spend some time on testing and polishing the code) but this will be far from being something acceptable for trunk. I guess I'll need some help of other folks but first I'll need to explain in detail what's the actual problem which is not the easiest task as well... Grzegorz (hating Cocoon's Core with even bigger passion and starting to wonder if my GSoC work on ObjectModel does not share bad design with Cocoon Core...) IncludeCacheManager can not perfom parallel includes Key: COCOON-2216 URL: https://issues.apache.org/jira/browse/COCOON-2216 Project: Cocoon Issue Type: Bug Components: - Components: Sitemap Affects Versions: 2.2-dev (Current SVN) Reporter: Christoph Gaffga Assignee: Grzegorz Kossakowski Attachments: cocoon-trunk.patch, ParallelInclusionProblem-cocoon_TRUNK.patch, test-block.zip, test-webapp.zip Since we migrated from cocoon 2.1 to 2.2 a generator that merges multiple sources from other cocoon pipelines into one (similar to the aggregator) is not working anymore. We also posted our problem to the mailing list, got little feedback but it brought us on the right way... see also: http://www.mail-archive.com/[EMAIL PROTECTED]/msg42173.html I found out that it's a problem with the DefaultIncludeCacheManager, that can not do parallel inclusion of cocoon-pipelines anymore. I checked several classes where inclusion is used. In the aggregator parallel inclusion is not an option anymore, in CIncludeTransformer the IncludeCacheManager is used, but it can't do parallel inclusion. In the new IncludeTransfomer parallel inclusion is supported, but it does not use caching as it does not use the IncludeCacheManager... But we needed caching AND parallel processing, so I tried to find out what's broken in the DefaultIncludeCacheManager: and it seems that the ThreadLocal variables are not initialized for the child threads that do the inclusion. Neither the spring context nor the old environment stuff was initialized. And all the source resolving was done outside the child thread and that way using the wrong thread context. We were able to fix that issue by small changes to DefaultIncludeCacheManager and IncludeCacheManagerSession. It would be great if somebody could apply this patch so we don'T have to patch every cocoon version again and again... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (COCOON-2216) IncludeCacheManager can not perfom parallel includes
[ https://issues.apache.org/jira/browse/COCOON-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12632028#action_12632028 ] Grzegorz Kossakowski commented on COCOON-2216: -- Small update: I've just realized that the reason for my troubles *might* be caused by the fact that I insisted on clean isolation between different stages of pipeline (or in general sitemap, or even more in general request processing) execution so no data is being transferred from one stage to another. We all think that globals are bad, don't we? However, it looks like that was my major mistake because Cocoon internals were never designed this way and thus my changes introduced endless stream of bugs or quirks. I'll try to check my findings tomorrow. Actually... today as it's already 2am here. IncludeCacheManager can not perfom parallel includes Key: COCOON-2216 URL: https://issues.apache.org/jira/browse/COCOON-2216 Project: Cocoon Issue Type: Bug Components: - Components: Sitemap Affects Versions: 2.2-dev (Current SVN) Reporter: Christoph Gaffga Assignee: Grzegorz Kossakowski Attachments: cocoon-trunk.patch, ParallelInclusionProblem-cocoon_TRUNK.patch, test-block.zip, test-webapp.zip Since we migrated from cocoon 2.1 to 2.2 a generator that merges multiple sources from other cocoon pipelines into one (similar to the aggregator) is not working anymore. We also posted our problem to the mailing list, got little feedback but it brought us on the right way... see also: http://www.mail-archive.com/[EMAIL PROTECTED]/msg42173.html I found out that it's a problem with the DefaultIncludeCacheManager, that can not do parallel inclusion of cocoon-pipelines anymore. I checked several classes where inclusion is used. In the aggregator parallel inclusion is not an option anymore, in CIncludeTransformer the IncludeCacheManager is used, but it can't do parallel inclusion. In the new IncludeTransfomer parallel inclusion is supported, but it does not use caching as it does not use the IncludeCacheManager... But we needed caching AND parallel processing, so I tried to find out what's broken in the DefaultIncludeCacheManager: and it seems that the ThreadLocal variables are not initialized for the child threads that do the inclusion. Neither the spring context nor the old environment stuff was initialized. And all the source resolving was done outside the child thread and that way using the wrong thread context. We were able to fix that issue by small changes to DefaultIncludeCacheManager and IncludeCacheManagerSession. It would be great if somebody could apply this patch so we don'T have to patch every cocoon version again and again... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Git clone of Apache Cocoon at GitHub
Hi, This is just a quick message to let you know what's happening. Last night I've pushed Jukka Zitting's clone[1] of Apache Cocoon to GitHub[2]. This is a small part of the activity happening around Git at Apache discussed at infrastructure-dev mailing list (which is public btw). This repository is highly experimental and I give no guarantees on its quality or status (being in sync with svn repository, etc.). The idea is to experiment with Git workflows and investigate areas where Git looks like superior tool over Subversion (believe me, in most areas it's superior). If you are interested in this effort you may start with blog post by Assaf[3] which outlines tiny fraction of reasons for Git excitement in Apache-centric settlement. The last thing is to ask people if they have no problem with *full* copy of Apache Cocoon repository floating over GitHub. I hope you don't. [1] http://jukkaz.wordpress.com/2008/07/31/git-clones-of-apache-codebases/ [2] http://github.com/gkossakowski/apache-cocoon/tree [3] http://blog.labnotes.org/2008/04/30/git-forking-for-fun-and-profit/ -- Best regards, Grzegorz Kossakowski