Ralph Goers wrote:

<snip/>

Glad it worked out.

However, I still have a feeling that holding the lock while checking the validity will create some contention in our usage since multiple threads do want to read the file simultaneously.

Yup; try this delay validity idea.


If you want to fly out to L.A. I'll happily buy you a beer!  :-)

:)

Vadim


Ralph

Vadim Gritsenko wrote:

Vadim Gritsenko wrote:

"http-8080-Processor17" daemon prio=1 tid=0x2e3d58c8 nid=0x19eb waiting for monitor entry [2d7f3000..2d7f587c] at org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimitingPool.java:262)
- waiting to lock <0x60088180> (a java.lang.Object)