cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2]: Missing component for DB connection personnel
Date Wed, 11 Apr 2001 17:24:56 GMT
Krzysztof Zielinski wrote:
> 
> Hello.
> 
>       I can't use DB connection pool in last Cocoon2 CVS. Something
>       wrong is with component for connections.
> 
>       I trying to use personel connection in C2 examples and I have
>       received folowing error
>       My DB works OK because when I use sample esql.xsp with specified
>       all connection parameters everything works correct.

I am committing the fix now.  It stemmed from the configuration of the
ComponentSelector had reverted to a previous version when Peter reformatted
it.  The Configuration works properly, and the new AvalonApi.jar I just
committed is all you need to fix it.

> 
> .....
> DEBUG   8201    [cocoon  ] (Thread-145): ComponentFactory creating new instance of org.apache.cocoon.www.docs.samples.forms.employee_xsp.
> ERROR   8211    [cocoon  ] (Thread-19): Could not get the datasource
> org.apache.avalon.component.ComponentException: datasources: ComponentSelector could
not find the component for hint: personnel
>         at org.apache.avalon.component.DefaultComponentSelector.select(DefaultComponentSelector.java:170)
>         at org.apache.cocoon.www.docs.samples.forms.employee_xsp.generateContent(employee_xsp.java:321)
>         at org.apache.cocoon.www.docs.samples.forms.employee_xsp.generate(employee_xsp.java:1143)
>         at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:150)
>         at org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(AbstractEventPipeline.java:102)
>         at org.apache.cocoon.components.pipeline.NonCachingStreamPipeline.process(NonCachingStreamPipeline.java:143)
>         at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2679)
>         at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1084)
>         at org.apache.cocoon.sitemap.Handler.process(Handler.java:153)
>         at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:107)
>         at org.apache.cocoon.Cocoon.process(Cocoon.java:244)
>         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:426)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>         at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
>         at org.apache.tomcat.core.Handler.service(Handler.java:223)
>         at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
>         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:788)
>         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
>         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:143)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:424)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:497)
>         at java.lang.Thread.run(Thread.java:484)
> DEBUG   8221    [cocoon  ] (Thread-19): Error processing pipeline
> .....
> 
> 
> 
> --
> Best regards,
>  Krzysztof                          mailto:kzielinski@supermedia.pl
>   ICQ # 47933362
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

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


Mime
View raw message