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/07/04 16:05:23 UTC

Re: Entities again with C22

Hi,
I finally resolved this problem by creating (touching) such files. Files 
do not need to be real. They only need to exist, otherwise you get the 
error message below.

I'm working on a MacBookPro. I tried with Java 1.5 and 1.6, same problem.

I'm going to create the corresponding bug in bugtracker.

JC

Jean-Christophe Kermagoret a écrit :
> Hi,
> Even if entities seem to be loaded correctly (see msg 1) , trying to 
> use them show me the following error message (see 2) which means 
> entities are not resolved.
>
> What's wrong ?
>
> ## Message 1 ##
>
> [INFO] ContextLoader - Root WebApplicationContext: initialization 
> completed in 5337 ms
> Loading catalog: 
> file:/opt/src/cocoon-22/trunk/test2/common/src/main/resources/COB-INF/entities/bluexml/catalog 
>
> Loading catalog: 
> file:/tmp/Jetty_0_0_0_0_8081_webapp____xvxh5t/cocoon_xml_resolver_entities/catalog 
>
> Loading catalog: 
> file:/tmp/Jetty_0_0_0_0_8081_webapp____xvxh5t/cocoon_xml_resolver_entities/w3c/catalog 
>
> Loading catalog: 
> file:/tmp/Jetty_0_0_0_0_8081_webapp____xvxh5t/cocoon_xml_resolver_entities/catalog 
>
> Loading catalog: 
> file:/tmp/Jetty_0_0_0_0_8081_webapp____xvxh5t/cocoon_xml_resolver_entities/w3c/catalog 
>
> Resolved public: -//BlueXML//Common Sitemap Resource 1.0//Generators//XML
>    
> file:/opt/src/cocoon-22/trunk/test2/common/src/main/resources/COB-INF/entities/bluexml/sitemap-resources-generators.xconf 
>
> Resolved public: -//BlueXML//Common Sitemap Resource 
> 1.0//Serializers//XML
>    
> file:/opt/src/cocoon-22/trunk/test2/common/src/main/resources/COB-INF/entities/bluexml/sitemap-resources-serializers.xconf 
>
> Resolved public: -//BlueXML//Common Sitemap View 1.0//Debug//XML
>    
> file:/opt/src/cocoon-22/trunk/test2/common/src/main/resources/COB-INF/entities/bluexml/sitemap-views-debug.xconf 
>
> Resolved public: -//BlueXML//Common Sitemap Pipeline 1.0//Static//XML
>    
> file:/opt/src/cocoon-22/trunk/test2/common/src/main/resources/COB-INF/entities/bluexml/sitemap-pipeline-static.xconf 
>
>
> ## Message 2 ##
> Caused by: 
> org.springframework.beans.factory.BeanDefinitionStoreException: Unable 
> to read Avalon configuration from 'sitemap.xmap'.; nested exception is 
> java.io.FileNotFoundException: 
> /opt/src/cocoon-22/trunk/test2/data-tamer/target/classes/COB-INF/sitemap-resources-generators.xconf 
> (No such file or directory)
>    at 
> org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.parse(BridgeElementParser.java:82) 
>
>
>


-- 
Jean-Christophe Kermagoret,
OpenBlueLab Technological Leader

http://www.openbluelab.org
http://forge.openbluelab.org
http://wiki.openbluelab.org
http://demo.openbluelab.org