Hi Mike
Give this a try, and if it works, I'll commit it to CVS:
Edit net.sf.acegisecurity.providers.cas.cache.EhCacheBasedTicketCache...
Add method:
public void destroy() throws Exception {
manager.removeCache("ehCacheBasedTicketCache");
}
Add the DisposableBean interface to the class declaration:
import org.springframework.beans.factory.DisposableBean;
public class EhCacheBasedTicketCache implements StatelessTicketCache,
InitializingBean, DisposableBean {
Please let me know how it goes.
Best regards
Ben
PS: How did you get on with the Jboss design/integration?
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Mike Youngstrom
> Sent: Saturday, 22 May 2004 8:03 AM
> To: [EMAIL PROTECTED]
> Subject: [Acegisecurity-developer] Error attempting to
> redeploy a webapp that uses EhCacheBasedTicketCache
>
> I'm attempting to work with the CAS integration and I've run
> into an error when redeploying a webapp that uses CAS. I
> only get this exception when redeploying my webapp. The
> first time I deploy my app or when I restart my server I do
> not get this error. So I assume it has something to do with
> the TicketCache not being removed from the ehcache when the
> application context is destroyed or something. I am not an
> ehcache expert so that's as far as my investigation went.
>
> Any ideas?
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer