You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Grzegorz Kossakowski (JIRA)" <ji...@apache.org> on 2007/08/06 17:13:59 UTC

[jira] Updated: (COCOON-2079) Parser error when launching webapp with jetty

     [ https://issues.apache.org/jira/browse/COCOON-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grzegorz Kossakowski updated COCOON-2079:
-----------------------------------------

    Attachment: dependencies.html

Just for record:
There is a nice plug-in (project-info-reports) in Maven printing dependency tree. I've run:

  export MAVEN_OPTS="-Xmx256m"; mvn project-info-reports:dependencies -P allblocks

and after a while I could see all our dependencies in core/cocoon-webapp/target/site/dependencies.html

I attach such report so anyone can have a look. Thanks to this plug-in we can quickly see that the only place where pull-parser is referenced is cocoon-scratchpad what Jeroen has already pointed out.

> Parser error when launching webapp with jetty
> ---------------------------------------------
>
>                 Key: COCOON-2079
>                 URL: https://issues.apache.org/jira/browse/COCOON-2079
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Gustavo N. Fernandes
>            Assignee: Jörg Heinicke
>            Priority: Blocker
>             Fix For: 2.2-dev (Current SVN)
>
>         Attachments: dependencies.html, dtd_patch.patch
>
>
> Erase local mvn repo on .m2
> svn update
> mvn clean
> mvn -Dmaven.test.skip=true -P allblocks install
> cd core/cocoon-webapp
> mvn jetty:run
> Gives the following error:
> Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Cannot load 'jar:file:/C:/projetos/cocoon/trunk/core/cocoon-webapp/target/cocoon-we
> bapp/WEB-INF/lib/cocoon-core-2.2.0-RC2-SNAPSHOT.jar!/org/apache/cocoon/cocoon.roles' at jar:file:/C:/projetos/cocoon/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 "...TA #REQUIRED\r\n               class CDATA  #REQUIRED\r\n>\r\n]"... (parser state UNKNONW_EVENT (-1))
> This happens on windows and linux os, both with java 5 and 6.  
> It seems core/cocoon-core/src/main/resources/org/apache/cocoon/cocoon.roles is not valid according to the DTD that is declared in the header. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.