Re: cocoon-sample tests in cocoon-3.0.0-beta-1
I reduced compile to jave 1.6 and i get the following error : [WARNING] Error injecting: org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojojava.lang.NoClassDefFoundError: org/apache/maven/shared/artifact/filter/collection/ArtifactFilterExceptionCaused by: java.lang.ClassNotFoundException: org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) .[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process (default) on project cocoon-sample: Execution default of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process failed: A required class was missing while executing org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process: org/apache/maven/shared/artifact/filter/collection/ArtifactFilterException[ERROR] -[ERROR] realm = plugin>org.apache.maven.plugins:maven-remote-resources-plugin:1.4[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy[ERROR] urls[0] = file:/home/braun/.m2/repository/org/apache/maven/plugins/maven-remote-resources-plugin/1.4/maven-remote-resources-plugin-1.4.jar[ERROR] urls[1] = file:/home/braun/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar[ERROR] urls[2] = file:/home/braun/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar[ERROR] urls[3] = file:/home/braun/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar[ERROR] urls[4] = file:/home/braun/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar[ERROR] urls[5] = file:/home/braun/.m2/repository/org/apache/maven/shared/maven-artifact-resolver/1.0/maven-artifact-resolver-1.0.jar[ERROR] urls[6] = file:/home/braun/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.0/maven-common-artifact-filters-1.0.jar[ERROR] urls[7] = file:/home/braun/.m2/repository/org/apache/maven/shared/maven-filtering/1.1/maven-filtering-1.1.jar[ERROR] urls[8] = file:/home/braun/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar[ERROR] urls[9] = file:/home/braun/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar[ERROR] urls[10] = file:/home/braun/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.12/plexus-interpolation-1.12.jar[ERROR] urls[11] = file:/home/braun/.m2/repository/org/codehaus/plexus/plexus-resources/1.0-alpha-5/plexus-resources-1.0-alpha-5.jar[ERROR] urls[12] = file:/home/braun/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.12/plexus-utils-1.5.12.jar[ERROR] urls[13] = file:/home/braun/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar[ERROR] urls[14] = file:/home/braun/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar[ERROR] urls[15] = file:/home/braun/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar[ERROR] urls[16] = file:/home/braun/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar[ERROR] Number of foreign imports: 1[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]][ERROR] [ERROR] -: org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException[ERROR] -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException Von: Francesco Chicchiriccò An: users@cocoon.apache.org Gesendet: 10:58 Montag, 12.September 2016 Betreff: Re: cocoon-sample tests in cocoon-3.0.0-beta-1 On 12/09/2016 10:51, hansheinrichbraun wrote: > the tests in cocoon-sample don't run anymore first the test complains > that maven-resources-remote-plugin 1.4 has no readable pom Hi, could you please provide some more details? I have just checked up the Cocoon 3 sources from https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk the, after setting JAVA_HOME to JDK 1.6, I have launched mvn clean install and built successfully: [INFO] [INFO] Reactor Summary: [INFO] [INFO] Apache Cocoon 3: Parent ... SUCCESS [ 0.722 s] [INFO] Apache Cocoon 3: Utilities
Re: Cocoon 3 sitemap setup
I solved it by running cocoon as an own application together with my main application communication by Rest.Cocoon makes my pdf generation and email message work i couldn't find anything other open source software to do it as well as cocoon although cocoon always makes some environmental problems but which could all be solved.At the moment i am bringing it to openshift. And since i decided also to go with angulat cocoon's restful capabilities became new revival Von: Artur Synowiec An: "users@cocoon.apache.org" Gesendet: 13:20 Mittwoch, 24.August 2016 Betreff: Cocoon 3 sitemap setup Hello, I need some help with setting up Cocoon 3 sitemap. I have used Cocoon 2.1 and 2.2 in the past and enjoyed the simplicity of the XML transformationusing sitemap language. Now I would like to get a hand of Cocoon 3. I've successfully managed to integrateC3 pipeline processor with other Java applications (based on Spring Boot) butI would love to make it work again with sitemap. I can see a few examples on the webof people using C3 inside their apps but couldn't see any example of mounting a sitemap.xmap Ideally I would like to integrate it with a Spring Boot app and mount XMLSitemapServlet in there.I have managed to do it using a class implementing Spring's ServletContextInitializer but I'm getting this exception: java.lang.IllegalStateException: Received closing 'match' but there was no node to close.I think it could be something to do with creating a Spring bean of org.apache.cocoon.sitemap.node.SitemapNode/sitemapwhich is needed for SitemapNodeFactory's createNode() method. I would appreciate any help on this. Regards,Artur
Json Syntax and JsonSerializer
I couldn't find any Document describing the syntax JsonSerializer is accepting
Cocoon-3.0.0-beta-1-SNAPSHOT and jetty-maven-plugin
I am using this cocoon version : Cocoon-3.0.0-beta-1-SNAPSHOT with maven-jetty-plugin version 6.1.26maven-jetty-plugin stops with version 6.X.X only only jetty-maven-plugin is supported with higher version numbers.but when i try to let it run with jetty-maven-plugin 7.6.13.v20130916 i get the following error :org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingClassloaderCreationException: Error while creating the URLClassLoader from context://WEB-INF/cocoon/rclwrapper.urlcl.conf in cocoon-webapp with this plugin i cannot call cocoon What is causing this fault
cocoon and cocoon-webapp together
I am bringing my application to openshift.It seems that i cannot integrate local dependencies in openshift.So it try to make one maven project out of cocoon and cocoon-webapp.But i didn't succeed after one day of trial.Do somebody have an idea how to accomplish it,Best regardsH.H.Braun
where to get cocoon 3.0.0-beta-1-SNAPSHOT
I used cocoon 3.0.0-beta-1-SNAPSHOT for a Rest email distribution application starting with the emailpipeline Thorsten made for me.I want to change to a new system renewing all my java applications and saw i deleted the source 3.0.0-beta-1-SNAPSHOT and i cannot find in internet.Can you help me? Von: gelo1234 An: Cocoon Users Gesendet: 11:31 Donnerstag, 7.Januar 2016 Betreff: Re: Help needed moving from 2.1.11 Hi, There is no need to configure it in any special way. All defaults are out of the box and are mostly sane (what every developer needs). C3 is considered to be more a RESTful framework not only a simple XML distribution system. Most sitemap.xmaps work ok. We have taken some steps into moving our app from 2.0.5dev to 3.0 and with some tweaking it worked fine! Check out the latest C3 snapshots from repository. There are sample artifacts for many-blocks and only one block configuration (simple web app). Greetings, Greg 2016-01-07 10:18 GMT+01:00 Flynn, Peter : On 06/01/16 17:49, Mark H. Wood wrote: > When I first looked at Cocoon 3, I thought it was more like a return > to Cocoon's roots, clearing away a lot of stuff that had accumulated > and concentrating on the pipeline. I should have another look > It's quite true that, without intense study of what documentation > there is, it is very difficult to find any mention of how to configure > it with XML, but the XML configurator is still in there. Configuring it with XML would be useful (eg sitemap.xmap) but what I meant was that Cocoon primary task was (is?) to serve XML documents via XSLT as {text|xml|html|...} ///Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
cocoon ProgessService and Hibernate
I am using cocoon 3.0 with Hibernate.To enable Lazy Loading I insert in web.xml lazyLoadingFilter org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingServletFilter filter-classorg.springframework.orm.hibernate4.support.OpenSessionInViewFilter lazyLoadingFilter /* Which is Ok with a normal RestController.But with ProgressService I get still the error org.hibernate.LazyInitializationException: could not initialize proxy - no Session when I use Lazy Loading Best regardsHeiner
Problem with spring when moving the project or deploying the war
I made an application with cocoon 2.2 with several blocks and a webapp. It works fine with jetty. But when I move the project to another directory or deploy a war-file and start it with tomcat I get the following error: 06.12.2010 14:47:17 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext 06.12.2010 14:47:19 org.apache.catalina.core.ApplicationContext log INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'. 06.12.2010 14:47:20 org.apache.catalina.core.ApplicationContext log INFO: DispatcherServlet: Block dispatcher was initialized successfully. 06.12.2010 14:47:20 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 06.12.2010 14:47:20 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 06.12.2010 14:47:31 org.apache.catalina.core.StandardWrapperValve invoke SCHWERWIEGEND: Servlet.service() for servlet DispatcherServlet threw exception org.springframework.beans.InvalidPropertyException: Invalid property 'folgeBeanTransferMode' of bean class [kbr.bean.KundenpersonselectorBean]: No property 'folgeBeanTransferMode' found at org.springframework.beans.BeanWrapperImpl.convertForProperty( BeanWrapperImpl.java:382) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory. convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory. applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory. populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory. doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1. run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory. createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean( AbstractBeanFactory.java:283) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean( AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean( AbstractBeanFactory.java:168) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean( AbstractBeanFactory.java:238) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean( AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean( AbstractBeanFactory.java:164) at org.springframework.context.support.AbstractApplicationContext.getBean( AbstractApplicationContext.java:881) at org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon. jsFunction_getComponent(FOM_Cocoon.java:324) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:474) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:953) at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter. callFunction(FOM_JavaScriptInterpreter.java:620) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke( CallFunctionNode.java:109) 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.Abstrac