cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject cocoon.xconf error
Date Wed, 19 Mar 2003 16:45:03 GMT
Hello,

I use cocoon 2.0.3 :
I tried to add some new "components-instance" in cocoon.xconf  as Jeremy 
Quinn wrote it in 
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104490756424028&w=2  :

...
<component-instance 
class="org.apache.cocoon.components.modules.input.XMLFileModule" 
logger="core.modules.xml" name="RLR-conf">
     <file src="WEB-INF/RLR.xconf"/>
</component-instance>
<component-instance 
class="org.apache.cocoon.components.modules.input.ChainMetaModule" 
logger="core.modules.input" name="chain">
     <input-module name="request-param"/>
     <input-module name="request-attr"/>
     <input-module name="session-attr"/>
     <input-module name="defaults"/>
     <!-- START CONFIGURATION RLR -->
     <input-module name="simple-map">
         <prefix>/vars/</prefix>
           <input-module name="RLR-conf"/>
     </input-module>
     <!-- END CONFIGURATION RLR -->
</component-instance>

...

then I wrote RLR.xconf :

<?xml version="1.0"?>
<vars>
    <url>blabla</url>
    <domain>blabla</domain>
    <server>blabla</server>
    <base>blabla</base>
    <name>blabla</name>
    <password>blabla</password>
    <interval>blabla</interval>
    <path>blabla</path>
</vars>

Here is the error :


org.apache.avalon.framework.component.ComponentException: Cannot obtain the 
URLFactory
         at 
org.apache.cocoon.sitemap.AbstractSitemap.compose(AbstractSitemap.java:215)
         at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:239)
         at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
         at 
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:187)
         at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:357)
         at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
         at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
         at java.lang.Thread.run(Thread.java:479)


Someone has an answer ?



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message