cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: cvs commit: xml-cocoon/src/org/apache/cocoon/sitemapAbstractSitemap.java
Date Mon, 23 Apr 2001 20:25:42 GMT
giacomo wrote:
> 
> On 23 Apr 2001 bloritsch@apache.org wrote:
> 
> > bloritsch    01/04/23 10:53:45
> >
> >   Modified:    src/org/apache/cocoon/sitemap Tag: xml-cocoon2
> >                         AbstractSitemap.java
> >   Log:
> >   Fixed Showstopper.  The Sitemap must be made SingleThreaded
> >
> 
> <snip/>
> 
> >   -public abstract class AbstractSitemap extends AbstractLoggable implements Sitemap,
Disposable, ThreadSafe {
> >   +public abstract class AbstractSitemap extends AbstractLoggable implements Sitemap,
Disposable, SingleThreaded {
> 
> Can you explain this in more detail? The generated Sitemap should be
> ThreadSafe. SingleThreaded IIRC means that there can only be one thread
> using that component and each new Thread gets a new instance of that
> class which is wrong. Well, it might be that I've introduced some code
> which prevents it from being ThreadSafe.

I recanted, and made it ThreadSafe again.

I was hoping to fix a strange error that happens with the TraxTransformer
when an exception is thrown from an Action. ???  It's a NullPointerException
dealing with the templates.

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


Mime
View raw message