>----- Original Message ----- 
>From: "Ben Alex" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, August 10, 2004 2:16 AM
>Subject: Re: [Acegisecurity-developer] Bug in
net.sf.acegisecurity.providers.dao.cache.EhCacheBasedUserCache
>

> Karel Miarka wrote:
>
> > Hi Ben,
> > with the new release some of my integration test stopped to work with
> > NullPointerException in EhCacheBasedUserCache - the cache variable was
> > null. (Suprisingly it was working when deployed under Tomcat.)
> > I have studied the code and than tried to add this line into
> > afterPropertiesSet() bellow your comment "// don’t remove the cache" :
> > cache = CacheManager.getInstance().getCache(CACHE_NAME);
> > and it seems to be OK.
> > TIA,
> > Karel
>
> Hi Karel
>
> EH-CACHE strikes again. The last problem was with web context refreshes.
> Have you tried that with your change?


At the moment, I'm using Tomcat 5 and the reload feature (triggered by ant
build) of Tomcat manager, so far it works quite fine. I have experienced no
problems with EH-CACHE yet.

Karel

>
> I've just committed your change to the various implementations we use
> that front EH-CACHE.
>
> Best regards
> Ben




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to