cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6362] - Multithreading problems during regeneration of sitemap
Date Thu, 21 Mar 2002 00:15:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6362>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6362

Multithreading problems during regeneration of sitemap





------- Additional Comments From vgritsenko@apache.org  2002-03-21 00:15 -------
Correction:

> ...
> the old sitemap is released by the sitemap.handler class.
> ...
> This release causes a dispose on the Sitemap object which
> in turn resets the sitemap object and for example sets 
> the manager to null.

Sitemap is disposed before new sitemap compiles,
by the ProgramGenerator:

  programmingLanguage.unload(program, normalizedName, this.workDir);
  this.cache.removeGenerator(normalizedName);

Last line destroys component handler, which disposes all of the
instances created in it.

The easiest/safest solution for this will be to remove async reloading - or - 
do not clean references in the sitemap's dispose() (which sounds wrong).

Comments?

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


Mime
View raw message