Hugh Sparks wrote:
Many thanks to Reinhard Pötz!
To make this work with the current trunk, a few simple changes are needed:
pom.xml: Add a dependency for cocoon-servlet-service-components
<parent>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-core-modules</artifactId>
<version>6-SNAPSHOT</version>
</parent>
<dependency>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-template-impl</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-servlet-service-components</artifactId>
</dependency>
web.xml: Add a listener for BlockDeploymentServletContextListener
<listener>
<description>Declare a context listener that installs all
blocks.</description>
<listener-class>org.apache.cocoon.blockdeployment.BlockDeploymentServletContextListener</listener-class>
</listener>
I don't understand why these components should be required if they
aren't used, but this gets the webapp going without errors.
If you're right, this has to be fixed before the next release of Cocoon 2.2.
Thanks for testing!
--
Reinhard Pötz Managing Director, {Indoqa} GmbH
http://www.indoqa.com/en/people/reinhard.poetz/
Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member [EMAIL PROTECTED]
________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]