cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Koehler <stefan.koeh...@interface-projects.de>
Subject Re: why many messages: Could not find component
Date Wed, 28 Nov 2001 11:16:29 GMT
On Mittwoch, 28. November 2001 09:52 you wrote:
> On Wed, 28 Nov 2001, David Crossley wrote:
> > Does anyone know why there are many messages on
> > Cocoon startup about "Could not find ComponentHandler"
> > and "Could not find component for role"? However, it seems
> > that everything is still functioning properly.
>
> Its the nature of the component managing system to show when handlers and
> components are created. You can see that those messages are tags as DEBUG.
> They disappear if you raise the loglevel.
> > Looking from a user point-of-view this could be very
> > confusing. We will probably get heaps of feedback that
> > Cocoon is broken or they will blame those messages for
> > their own problems.
>
> I don't think so as they are tagged as DEBUG messages. Have you ever run
> an apache httpd in debug mode or even a mozilla :) ?

In general I'm with Giacomo here. I have no problem with messages about creation 
and lookup of components.
But I _have_ a problem with stacktraces of exceptions that aren't realy exceptions 
(because they belong to the system's normal behavior) which are really confusing.
It makes your own debugging very hard to see the log flooded with endless repeats 
of something like this:

DEBUG (2001-11-28) 12:12.40:255 [cocoon  ] (/layout/edit-repository/asfd) Could not find component
for role: org.apache.cocoon.components.saxconnector.SAXConnector
java.lang.NullPointerException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1220)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:273)
        at org.apache.cocoon.components.pipeline.AbstractEventPipeline.compose(AbstractEventPipeline.java:63)
        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:157)
        at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:79)
        at org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(AbstractPool.java:120)
        at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:91)
        at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:80)
        at org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:88)
        at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:286)
        at org.apache.cocoon.www.file_.usr2.local.jakarta.jakarta_tomcat_4_0_1.bin.___.webapps.edisys.sitemap_xmap.process(sitemap_xmap.java:1665)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:115)
        at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:139)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:469)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:792)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
        at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
        at java.lang.Thread.run(Thread.java:484)


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

-- 
Stefan Köhler
mailto:stefan.koehler@interface-projects.de

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


Mime
View raw message