commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Spaggiari (JIRA)" <>
Subject [jira] [Commented] (JCS-100) JCS never going out of the dispose methode
Date Sat, 01 Dec 2012 19:41:58 GMT


Jean-Marc Spaggiari commented on JCS-100:

I got the issue again today.

This time, I was able to capture some other logs before the dispose goes in close loop.

Can this be because the IndexedDiskCache failed to write one key that the cacheEventQueue
is never cleared?

2012-12-01 10:56:53,588 [CacheEventQueue.QProcessor-robotCache] ERROR org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache
- Region [robotCache] Failure updating element, key: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
old: null
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(
        at EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$WriterLock.acquire(
        at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.doUpdate(
        at org.apache.jcs.auxiliary.disk.AbstractDiskCache$MyCacheListener.handlePut(
        at org.apache.jcs.engine.CacheEventQueue$PutEvent.doRun(
        at org.apache.jcs.engine.CacheEventQueue$
        at org.apache.jcs.engine.CacheEventQueue$
2012-12-01 10:56:53,867 [IndexedDiskCache-OptimizationThread] INFO org.apache.jcs.auxiliary.disk.indexed.IndexedDisk
- Trucating file [C:\workspace\bbbbbbbbbb\robotCache\] to 367498133
> JCS never going out of the dispose methode
> ------------------------------------------
>                 Key: JCS-100
>                 URL:
>             Project: Commons JCS
>          Issue Type: Bug
>          Components: Composite Cache
>    Affects Versions: jcs-1.3
>         Environment: Windows
>            Reporter: Jean-Marc Spaggiari
> I have an application using many threads all calling JCS. When I close the application,
the cache is usually working fine, but sometime, it stays stucked on the dispose methode.
> The cacheEventQueue never going empty. Then it's looping on while ( keepGoing ) and never
ending. I have to kill the application to exit.
> It's difficult to reproduce. There is no fixed pattern so far.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message