RE: tutorial example work with jetty but not on tomcat6

2010-03-08 Thread Jens Reufsteck
I tried to dig deeper into the problem, but I'm really stuck. Am Donnerstag, 4. März 2010 14:58:41 schrieben Sie: I've just started with Cocoon 2.2 (after using Cocoon 2.1 successfully for many years). I'm following the tutorials, i.e. I'm using mvn (2.2.1) having installed the webapp

RE: tutorial example work with jetty but not on tomcat6

2010-03-08 Thread Robby Pelssers
Did you add a dependency for the flowscript in your pom.xml? dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-flowscript-impl/artifactId version1.0.0/version /dependency Maybe you can copy paste your dependencies and also the relevant snippets

RE: tutorial example work with jetty but not on tomcat6

2010-03-08 Thread Jens Reufsteck
Maybe you can copy paste your dependencies and also the relevant snippets from your block-servlet-service.xml? This is the parent pom.xml project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

RE: tutorial example work with jetty but not on tomcat6

2010-03-08 Thread Robby Pelssers
Hi Jens, I did not find anything peculiar right away but I can tell you that I specify the versions of the project/block dependendies in the parent pom. This ensures I use the same versions over my modules and whenever I want to upgrade to a new version I only need to do it in the parent pom.

RE: tutorial example work with jetty but not on tomcat6

2010-03-08 Thread Robby Pelssers
Did you change the version of your cocoon block to 1.0.0 because I think by default it generates 1.0-SNAPSHOT. And you declare version 1.0.0 as a dependency. Robby -Original Message- From: Jens Reufsteck [mailto:jens.reufst...@staufenbiel.de] Sent: Monday, March 08, 2010 1:41 PM To:

RE: tutorial example work with jetty but not on tomcat6

2010-03-08 Thread Jens Reufsteck
I moved the dependencies into the parent pom (and inserted a parent-element into the block pom). I added the runmode-parameter to the tomcat startscript. I checked the versions, though they were ok (had seen this issues in earlier postings). Unfortunately, flow on tomcat still doesn't work (but

Re: Writing generator / Cocoon3 alpha

2010-03-08 Thread Johannes Lichtenberger
On Mon, 2010-03-08 at 08:34 +0100, Reinhard Pötz wrote: Johannes Lichtenberger wrote: On Sat, 2010-03-06 at 13:19 +0100, Johannes Lichtenberger wrote: On Sat, 2010-03-06 at 07:21 +0100, Jos Snellings wrote: Johannes, you need one or two things beside the code of the generator. - first,