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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to