cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Where to look for 'ComponentSelector could not access the Component for hint: sitemap'?
Date Thu, 17 May 2001 12:45:29 GMT
"Morrison, John" wrote:
> 
> That doesn't help *GRIN*.  Please see below.
> 

HERE is your error
------------------

> ERROR   8492    [cocoon  ] (Thread-31): Error compiling sitemap
> org.apache.avalon.framework.component.ComponentException: markup-languages:
> ComponentSelector could not access the Component for hint: sitemap
>         at
> org.apache.avalon.excalibur.component.DefaultComponentSelector.select(Defaul
> tComponentSelector.java:191)
>         at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:157)
>         at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
>         at java.lang.Thread.run(Thread.java:479)
> org.apache.avalon.framework.configuration.ConfigurationException:
> AbstractMarkupLanguage: Stream closed
>         at
> org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
> e(AbstractMarkupLanguage.java, Compiled Code)
>         at java.lang.Exception.<init>(Exception.java, Compiled Code)
>         at
> org.apache.avalon.framework.CascadingException.<init>(CascadingException.jav
> a, Compiled Code)
>         at
> org.apache.avalon.framework.configuration.ConfigurationException.<init>(Conf
> igurationException.java, Compiled Code)
>         at
> org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
> e(AbstractMarkupLanguage.java, Compiled Code)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
> faultComponentFactory.java:110)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultCom
> ponentHandler.java:91)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentSelector.select(Defaul
> tComponentSelector.java:184)
>         at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:157)
>         at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
>         at java.lang.Thread.run(Thread.java:479)
> org.apache.xml.utils.WrappedRuntimeException: Stream closed
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:965)
>         at
> org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logic
> sheet.java:111)
>         at
> org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLo
> gicsheet(AbstractMarkupLanguage.java:181)
>         at
> org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
> e(AbstractMarkupLanguage.java, Compiled Code)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
> faultComponentFactory.java:110)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultCom
> ponentHandler.java:91)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentSelector.select(Defaul
> tComponentSelector.java:184)
>         at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:157)
>         at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
>         at java.lang.Thread.run(Thread.java:479)

> I don't know why this works with TC (4) but not ServletExec.

Check your repository.  There should be a .java file for the sitemap.  If not,
or if it is incomplete, it means that the sitemap is malformed.  If the .java file
is there and complete, try compiling it by hand.  Usually, there is an inconsistency
in the sitemap that prevents it from being compiled.

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


Mime
View raw message