some generic questions about dynamicity C3
Hi people, We have the plan to go cloud with Cocoon (3). Our old way of working was to embed typical resources (css/xslt/js/xqueries) into the war itself. I am currently considering storing all resources into a database (mysql/...). Is someone already doing the same? Besides that, I am wondering if someone already considered some way of having a more dynamic sitemap. The end goal would be that I would not need to redeploy the app for each sitemap change. A few options come to mind: - Investigate if we not also can store the sitemap into a db. Is cocoon really expecting the sitemap to be at a certain location inside the war? - Use a similar approach to Apache servicemix where you can install services (in our case restful endpoints) on the fly (osgi) I'm really interested to find out if I'm stepping on unknown territory or if this has been already done in practice. Kind regards, Robby Pelssers
[jira] [Created] (COCOON-2325) jx:forEach... returns exactly one item from non-empty collection under jdk 1.6.0_23+
Vasily E. Moskaljov created COCOON-2325: --- Summary: 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 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
[jira] [Closed] (COCOON-2324) Cocoon 2 - Resource not found
[ https://issues.apache.org/jira/browse/COCOON-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier Puerto closed COCOON-2324. - Resolution: Implemented Cocoon 2 - Resource not found - Key: COCOON-2324 URL: https://issues.apache.org/jira/browse/COCOON-2324 Project: Cocoon Issue Type: Improvement Components: - Components: Sitemap Affects Versions: 2.1.11 Reporter: Sridhar Goranti Fix For: 2.1.11 Attachments: Cocoon2.1.11 - Resource not found.jpeg Hi, I have deployed my cocoon 2.1.11 web application successfully in JBoss 5.1.0 GA application server. But when I try access the cocoon application from Internet Explorer browser, I am getting below message:- Cocoon 2 - Resource not found type resource-not-found message Resource not found description The requested URI /RamsReport/mount/xreporter/en-US/reportcatalog was not found. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet path-info mount/xreporter/en-US/reportcatalog request-uri /RamsReport/mount/xreporter/en-US/reportcatalog JBoss 5.1.0 GA Server console log message:- ++ ERROR (2012-07-17) 14:08.43:214 [sitemap] (/RamsReport/mount/xreporter/en-US/reportcatalog) http-localhost%2F127.0.0.1-8080-5/DefaultTreeBuilder: Failed to load sitemap from file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap org.apache.cocoon.ResourceNotFoundException: Resource not found file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap: java.io.FileNotFoundException: C:\RamsReportFinal_Workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_1_Server1342385312791\deploy\RamsReport.war\sitemap.xmap (The system cannot find the file specified) at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:145) at org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(AbstractStreamSource.java:161) at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:206) at org.apache.cocoon.components.source.DelayedRefreshSourceWrapper.toSAX(DelayedRefreshSourceWrapper.java:156) at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:387) at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:366) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:330) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293) at org.apache.cocoon.Cocoon.process(Cocoon.java:579) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at
[jira] [Assigned] (COCOON-2324) Cocoon 2 - Resource not found
[ https://issues.apache.org/jira/browse/COCOON-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier Puerto reassigned COCOON-2324: - Assignee: Javier Puerto Cocoon 2 - Resource not found - Key: COCOON-2324 URL: https://issues.apache.org/jira/browse/COCOON-2324 Project: Cocoon Issue Type: Improvement Components: - Components: Sitemap Affects Versions: 2.1.11 Reporter: Sridhar Goranti Assignee: Javier Puerto Fix For: 2.1.11 Attachments: Cocoon2.1.11 - Resource not found.jpeg Hi, I have deployed my cocoon 2.1.11 web application successfully in JBoss 5.1.0 GA application server. But when I try access the cocoon application from Internet Explorer browser, I am getting below message:- Cocoon 2 - Resource not found type resource-not-found message Resource not found description The requested URI /RamsReport/mount/xreporter/en-US/reportcatalog was not found. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet path-info mount/xreporter/en-US/reportcatalog request-uri /RamsReport/mount/xreporter/en-US/reportcatalog JBoss 5.1.0 GA Server console log message:- ++ ERROR (2012-07-17) 14:08.43:214 [sitemap] (/RamsReport/mount/xreporter/en-US/reportcatalog) http-localhost%2F127.0.0.1-8080-5/DefaultTreeBuilder: Failed to load sitemap from file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap org.apache.cocoon.ResourceNotFoundException: Resource not found file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap: java.io.FileNotFoundException: C:\RamsReportFinal_Workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_1_Server1342385312791\deploy\RamsReport.war\sitemap.xmap (The system cannot find the file specified) at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:145) at org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(AbstractStreamSource.java:161) at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:206) at org.apache.cocoon.components.source.DelayedRefreshSourceWrapper.toSAX(DelayedRefreshSourceWrapper.java:156) at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:387) at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:366) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:330) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293) at org.apache.cocoon.Cocoon.process(Cocoon.java:579) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at
[jira] [Commented] (COCOON-2324) Cocoon 2 - Resource not found
[ https://issues.apache.org/jira/browse/COCOON-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420753#comment-13420753 ] Javier Puerto commented on COCOON-2324: --- By latest email messages from dev list, seems like the user fixed this issue. http://cocoon.markmail.org/thread/jgu6flwamn7fvpe4 Cocoon 2 - Resource not found - Key: COCOON-2324 URL: https://issues.apache.org/jira/browse/COCOON-2324 Project: Cocoon Issue Type: Improvement Components: - Components: Sitemap Affects Versions: 2.1.11 Reporter: Sridhar Goranti Assignee: Javier Puerto Fix For: 2.1.11 Attachments: Cocoon2.1.11 - Resource not found.jpeg Hi, I have deployed my cocoon 2.1.11 web application successfully in JBoss 5.1.0 GA application server. But when I try access the cocoon application from Internet Explorer browser, I am getting below message:- Cocoon 2 - Resource not found type resource-not-found message Resource not found description The requested URI /RamsReport/mount/xreporter/en-US/reportcatalog was not found. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet path-info mount/xreporter/en-US/reportcatalog request-uri /RamsReport/mount/xreporter/en-US/reportcatalog JBoss 5.1.0 GA Server console log message:- ++ ERROR (2012-07-17) 14:08.43:214 [sitemap] (/RamsReport/mount/xreporter/en-US/reportcatalog) http-localhost%2F127.0.0.1-8080-5/DefaultTreeBuilder: Failed to load sitemap from file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap org.apache.cocoon.ResourceNotFoundException: Resource not found file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap: java.io.FileNotFoundException: C:\RamsReportFinal_Workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_1_Server1342385312791\deploy\RamsReport.war\sitemap.xmap (The system cannot find the file specified) at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:145) at org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(AbstractStreamSource.java:161) at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:206) at org.apache.cocoon.components.source.DelayedRefreshSourceWrapper.toSAX(DelayedRefreshSourceWrapper.java:156) at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:387) at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:366) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:330) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293) at org.apache.cocoon.Cocoon.process(Cocoon.java:579) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at
[jira] [Commented] (COCOON-2325) jx:forEach... returns exactly one item from non-empty collection under jdk 1.6.0_23+
[ https://issues.apache.org/jira/browse/COCOON-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420760#comment-13420760 ] Javier Puerto commented on COCOON-2325: --- Hello Vasily, I've worked with JX flow and I had some weird issues sometimes but I never had this one. Could you attach an example block or the problematic code to reproduce? 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 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
Re: [jira] [Commented] (COCOON-2324) Cocoon 2 - Resource not found
2012/7/18 David Crossley cross...@apache.org Thanks Javier, nicely handled. See also https://issues.apache.org/jira/browse/FOR-1236 today. Thanks David, I've finally closed it because seems like the user already solved the problem. Salu2. -David Javier Puerto (JIRA) wrote: [ https://issues.apache.org/jira/browse/COCOON-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13416537#comment-13416537] Javier Puerto commented on COCOON-2324: --- Hi Sridhar Please, use the mailing user list to ask if you have any problem first. You can check the following page: http://cocoon.apache.org/2.1/1175.html#Cocoon+Users The user list is read by more people so you can found more help, JIRA is more for developers. Regarding your problem, seems like Cocoon can't found the sitemap.xmap file to process your request. Could you confirm if the file C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap exists? Salu2. Cocoon 2 - Resource not found - Key: COCOON-2324 URL: https://issues.apache.org/jira/browse/COCOON-2324 Project: Cocoon Issue Type: Improvement Components: - Components: Sitemap Affects Versions: 2.1.11 Reporter: Sridhar Goranti Fix For: 2.1.11 Attachments: Cocoon2.1.11 - Resource not found.jpeg Hi, I have deployed my cocoon 2.1.11 web application successfully in JBoss 5.1.0 GA application server. But when I try access the cocoon application from Internet Explorer browser, I am getting below message:- Cocoon 2 - Resource not found type resource-not-found message Resource not found description The requested URI /RamsReport/mount/xreporter/en-US/reportcatalog was not found. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet path-info mount/xreporter/en-US/reportcatalog request-uri /RamsReport/mount/xreporter/en-US/reportcatalog JBoss 5.1.0 GA Server console log message:- ++ ERROR (2012-07-17) 14:08.43:214 [sitemap] (/RamsReport/mount/xreporter/en-US/reportcatalog) http-localhost%2F127.0.0.1-8080-5/DefaultTreeBuilder: Failed to load sitemap from file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap org.apache.cocoon.ResourceNotFoundException: Resource not found file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap: java.io.FileNotFoundException: C:\RamsReportFinal_Workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_1_Server1342385312791\deploy\RamsReport.war\sitemap.xmap (The system cannot find the file specified) at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:145) at org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(AbstractStreamSource.java:161) at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:206) at org.apache.cocoon.components.source.DelayedRefreshSourceWrapper.toSAX(DelayedRefreshSourceWrapper.java:156) at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:387) at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:366) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:330) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293) at org.apache.cocoon.Cocoon.process(Cocoon.java:579) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at
[jira] [Assigned] (COCOON-2325) jx:forEach... returns exactly one item from non-empty collection under jdk 1.6.0_23+
[ https://issues.apache.org/jira/browse/COCOON-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier Puerto reassigned COCOON-2325: - Assignee: Javier Puerto 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 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
[jira] [Updated] (COCOON-2325) jx:forEach... returns exactly one item from non-empty collection under jdk 1.6.0_23+
[ https://issues.apache.org/jira/browse/COCOON-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier Puerto updated COCOON-2325: -- Status: On Hold (was: Open) 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 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
Re: some generic questions about dynamicity C3
Hi Robby, we did a lot of dynamic pipeline composition with C2 at a previous job. Because of the way it works we did not try to generate any part of the sitemap dynamically. My basic conclusion was that you'd need to replace some components of C2 but it would have been possible. It was just easier to use request parameters to figure out what data to grab and what to produce and use the sitemap to classify the major categories for which we did this... So we ended up with a fixed sitemap and a bunch of fixed major categories. Within each category you could dynamically vary the results to some extent. Peter Hunsberger On Mon, Jul 23, 2012 at 6:21 AM, Robby Pelssers robby.pelss...@nxp.comwrote: Hi people, ** ** We have the plan to go cloud with Cocoon (3). Our old way of working was to embed typical resources (css/xslt/js/xqueries) into the war itself. I am currently considering storing all resources into a database (mysql/…). Is someone already doing the same? ** ** Besides that, I am wondering if someone already considered some way of having a more dynamic sitemap. The end goal would be that I would not need to redeploy the app for each sitemap change. A few options come to mind:* *** **- **Investigate if we not also can store the sitemap into a db. Is cocoon really expecting the sitemap to be at a certain location inside the war? **- **Use a similar approach to Apache servicemix where you can install services (in our case restful endpoints) on the fly (osgi) ** ** I’m really interested to find out if I’m stepping on unknown territory or if this has been already done in practice. ** ** Kind regards, Robby Pelssers