Donald Ball wrote:
> 
> after leaving a c2 webapp overnight, i can in this morning, tried to hit a
> url, and got this exception:

What is your servlet engine?  I am not getting this exception, and my Tomcat
server has been up for over two weeks.

> 
> java.lang.RuntimeException: Could not get the datasource
> java.lang.IllegalStateException: You cannot select a Component from a
> disposed ComponentSelector
>         at
> org.apache.cocoon.www.content.editform_xml.generate(editform_xml.java:240)
>         at
> 
>org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:178)
>         at
> 
>org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:220)
>         at
> 
>org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:344)
>         at
> org.apache.cocoon.www.sitemap_xmap.wildcardMatchN85(sitemap_xmap.java:1530)
>         at
> org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:862)
>         at
> org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:783)
>         at org.apache.cocoon.sitemap.Handler.process(Handler.java:168)
>         at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
>         at org.apache.cocoon.Cocoon.process(Cocoon.java:329)
>         at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> 
> the exception is thrown from this block of code:
> 
>         try {
>           _esql_connection.datasource =
>             (DataSourceComponent)_esql_selector.select(
>               String.valueOf(""
>                              + "uptgen"));
>           _esql_connection.connection =
>             _esql_connection.datasource.getConnection();
>         } catch (Exception _esql_exception_N32) {
>           getLogger().error("Could not get the datasource",
>                             _esql_exception_N32);
>           throw new RuntimeException("Could not get the datasource "+
>                                      _esql_exception_N32);
>         }
> 
> - donald
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to