You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jean-Christophe Kermagoret <jc...@openbluelab.org> on 2007/06/07 01:23:29 UTC
cocoon.roles error during startup with 2.2
Hi,
I just did the following :
> rm -rf /var/root/.m2/repository/org/apache/cocoon
> mvn -P allblocks -Dmaven.test.skip=true install
> cd core/cocoon-webapp
> mvn jetty:run
I then get the following error :
...
Caused by:
org.apache.avalon.framework.configuration.ConfigurationException: Cannot
load
'jar:file:/opt/src/cocoon-22/trunk/core/cocoon-webapp/target/cocoon-webapp/WEB-INF/lib/cocoon-core-2.2.0-RC2-SNAPSHOT.jar!/org/apache/cocoon/cocoon.roles'
at
jar:file:/opt/src/cocoon-22/trunk/core/cocoon-webapp/target/cocoon-webapp/WEB-INF/lib/cocoon-core-2.2.0-RC2-SNAPSHOT.jar!/org/apache/cocoon/cocoon.xconf:30:61
...
Caused by:
org.apache.avalon.framework.configuration.ConfigurationException: Cannot
load
'jar:file:/opt/src/cocoon-22/trunk/core/cocoon-webapp/target/cocoon-webapp/WEB-INF/lib/cocoon-core-2.2.0-RC2-SNAPSHOT.jar!/org/apache/cocoon/cocoon.roles'
at
jar:file:/opt/src/cocoon-22/trunk/core/cocoon-webapp/target/cocoon-webapp/WEB-INF/lib/cocoon-core-2.2.0-RC2-SNAPSHOT.jar!/org/apache/cocoon/cocoon.xconf:30:61
at
org.apache.cocoon.core.container.spring.avalon.ConfigurationReader.loadURI(ConfigurationReader.java:508)
at
org.apache.cocoon.core.container.spring.avalon.ConfigurationReader.handleInclude(ConfigurationReader.java:458)
... 62 more
Caused by: org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations
not supported at line 32 and column 3 seen "...CDATA
#REQUIRED\n class CDATA #REQUIRED\n>\n]"... (parser state
UNKNONW_EVENT (-1))
But I just get the cocoon.roles file and everything seems to be ok :
svn info cocoon.roles
Path: cocoon.roles
Name: cocoon.roles
URL:
http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-core/src/main/resources/org/apache/cocoon/cocoon.roles
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 544986
Node Kind: file
Schedule: normal
Last Changed Author: reinhard
Last Changed Rev: 522900
Last Changed Date: 2007-03-27 13:29:08 +0000 (Tue, 27 Mar 2007)
Text Last Updated: 2007-06-06 23:17:17 +0000 (Wed, 06 Jun 2007)
Properties Last Updated: 2007-04-14 03:55:08 +0000 (Sat, 14 Apr 2007)
Checksum: 189b4f5ced7704b802b33e654da89de2
--
Jean-Christophe Kermagoret
Technological leader
OpenBlueLab : http://www.openbluelab.org