cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: esql thread unsafe - bug
Date Wed, 27 Feb 2002 09:56:46 GMT
On Wed, 27 Feb 2002, Donald Ball wrote:

> On Tue, 19 Feb 2002, Szymon Stasik wrote:
>
> > I've discovered serious bug in esql logicsheet while using it with
> > cocoon-1.8.3. However the same bug seems to exists in cocoon2. The
> > problem is that while node stack logic variables (xspParentNode,
> > xspCurrentNode, xspNodeStack) are defined inside populateDocument
> > method, similar objects used by esql (_esql_connections etc...) exist as
> > object attributes.
> >
> > Since there is only one instance of particular xsp page (eg.
> > _index.class) per application, under havy load it is possible (and easy
> > to observe using eg jmeter) that concurent calls to the same
> > _index.populateDocument method will lead esql structures and connection
> > pools to be corrupted.
> >
> > you can find attached the patch that should fix thing up (it works at
> > least with cocoon-1.8.x)
>
> criminy, i think you're right, and i think your patch should work. it's
> been a while since i've had a serious chance to play with this stuff; can
> an active developer sanity check this (into cvs)?

Donald, I fixed this already a few days ago :)

Thanks
--
Torsten


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


Mime
View raw message