Sometimes when it first start up in the unit tests I get:
[junit] Running org.apache.jcs.TestDiskCache
2002-05-14 17:56:49,073 [CacheEventQueue.QProcessor-4] ERROR
org.apache.jcs.auxiliary.disk
.AbstractDiskCache - java.lang.IllegalThreadStateException
2002-05-14 17:56:49,073 [CacheEventQueue.QProcessor-4] ERROR
org.apache.jcs.auxiliary.disk
.AbstractDiskCache - java.lang.IllegalStateException: Method done of
org.apache.jcs.utils.
locking.ReadWriteLockManager invoked without an outstanding lock; id=0:key
I'm not sure why this happens.
I think the error should be demoted to a warn on the releaseLock.
> -----Original Message-----
> From: Aaron Smuts [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 14, 2002 5:55 PM
> To: Turbine JCS Developers List
> Subject: RE: cvs commit: jakarta-turbine-jcs/src/java/org/apache/jcs/auxil
> iary/disk AbstractDiskCache.java
>
> Looks good. I don't seem to be getting the same old errors. I guess it
> needed a larger section locked.
>
> Try turning your test log level to ERROR, so it runs faster.
>
> Looks good so far. :)
>
> Aaron
>
> > -----Original Message-----
> > From: James Taylor [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 14, 2002 5:47 PM
> > To: Turbine JCS Developers List
> > Subject: RE: cvs commit: jakarta-turbine-
> jcs/src/java/org/apache/jcs/auxil
> > iary/disk AbstractDiskCache.java
> >
> > Okay, I merged your changes AND in MyCacheListener.handlePut I moved the
> > call to doUpdate (and the related stuff) inside the locked region.
> > Everything works well for me now. You?
> >
> > On Tue, 2002-05-14 at 17:44, Aaron Smuts wrote:
> > > You are still getting failures? With the most recent stuff?
> > >
> > > Ok lets see.
> > >
> > > > -----Original Message-----
> > > > From: James Taylor [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, May 14, 2002 5:35 PM
> > > > To: Turbine JCS Developers List
> > > > Subject: Re: cvs commit: jakarta-turbine-
> > > > jcs/src/java/org/apache/jcs/auxiliary/disk AbstractDiskCache.java
> > > >
> > > > I've got something that works a little better. I'm going to backup
> to
> > > > 1.8 and the commit it.
> > > >
> > > > On Tue, 2002-05-14 at 17:31, James Taylor wrote:
> > > > > On Tue, 2002-05-14 at 17:24, [EMAIL PROTECTED] wrote:
> > > > > > asmuts 02/05/14 14:24:11
> > > > > >
> > > > > > Modified: src/java/org/apache/jcs/auxiliary/disk
> > > > > > AbstractDiskCache.java
> > > > > > Log:
> > > > > > better, needs more testing
> > > > >
> > > > > TestDiskCache still fails consistently for me =/
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail: <mailto:turbine-jcs-dev-
> > > > [EMAIL PROTECTED]>
> > > > > For additional commands, e-mail: <mailto:turbine-jcs-dev-
> > > > [EMAIL PROTECTED]>
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail: <mailto:turbine-jcs-dev-
> > > > [EMAIL PROTECTED]>
> > > > For additional commands, e-mail: <mailto:turbine-jcs-dev-
> > > > [EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:turbine-jcs-dev-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-jcs-dev-
> > [EMAIL PROTECTED]>