cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: [PATCH] Re: [C2][Xalan2] Xalan2J problems under heavy load using Apache JMeter
Date Mon, 19 Mar 2001 13:30:45 GMT
Santiago Gala wrote:
> Yes. It is cool to ".join()" on the initialization thread, so that
> initialization will be asynchronous, but no race condition arises.

It's good to know that I am not completely daft ;)

> > When someone tries to put() an object, the code checks to see if the pool has
> > been initialized--if not, it throws an IllegalStateException (How can we receive
> > an object if it never was created?).  It then checks to see if the pool has been
> > disposed.  If it has, it destroys the JdbcConnection, otherwise it returns it
> > to the pool.
> >
> > Hopefully this will satisfy most of the race conditions.
> >
> In my tests it is completely clean now...

Yay!  And I didn't have to mess with semaphores yet!

> But, as you know, it is often easy to proof that a program HAS a bug. It
> is much more difficult to proof that it HAS NOT. :-)

Let's consider it fixed until we have something arrise from use.

To unsubscribe, e-mail:
For additional commands, email:

View raw message