cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Exception in Avalon ComponentManager when disposing Cocoon
Date Fri, 08 Jun 2001 18:44:46 GMT
Berin Loritsch wrote:
> 
> Sylvain Wallez wrote:
> >
> > I added a call to cocoon.dispose() in CocoonServlet.destroy(). The main
> > purpose was to gracefully close all Jdbc connections held by the
> > connection pool (otherwise Hsql keeps the database locked), but this
> > produces the following exceptions in the log :
> >
> > DEBUG   60137   [cocoon  ] (Thread-21): Error trying to release
> > component.
> > java.lang.IllegalStateException: You cannot put a component in a
> >
> > This happens when components release other components in their dispose()
> > method.
> >
> > Berin, could you check this ?
> 
> I'll look into it.  Basically, what is happening is that Components are
> being released after the CM is disposed.

Basically, the issue was in the ComponentHandlers.  I fixed the issue in CVS.
I will make another release soon, but I want to get more docs in Avalon
first.

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


Mime
View raw message