Results 1 to 4 of 4

Thread: Redeploy problem with User Cache

  1. #1
    Join Date
    Feb 2005
    Posts
    2

    Default Redeploy problem with User Cache

    I am not sure if I should post this to this forum, but it seems reasonable to post it here.

    I implemented EhSecurityCache and NullSecurityCache (which caches some other custom data related with user) based on EhUserCache and NullUserCache of Acegi. Either seems to work properly. But when using the EhCache based cache, redeploy in Tomcat is not successful. It freezes while destroying beans. When I change the configuration to use NullSecurityCach (no caching), redeploy works fine.

    Any one have idea on this?

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    If you're using release 0.7.0, Acegi Security leaves EH-CACHE creation and management to the Spring Core classes, as discussed in the reference guide. I'd suggest you move to 0.7.0 (if not using it already), and if the problem is with 0.7.0, try leaving the Spring Core EH-CACHE declarations in your application context XML and see if the problem goes away. You're attempting to isolate the problem to either the Spring implementation of the clases, of EhCacheBasedUserCache itself.

  3. #3
    Join Date
    Feb 2005
    Posts
    2

    Default

    Thanks Ben,

    I tried your suggestion and observed that Spring Core EH-CACHE declarations causes the problem. But I could not figure out what may be the problem with Spring Core's Eh-Cache support.

  4. #4
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    I've found some issues with EH-CACHE versions above 0.9, so maybe try that version (or whatever version Spring officially supports these days).

Similar Threads

  1. Problem with HibernateInterceptor
    By prane in forum Data
    Replies: 5
    Last Post: Oct 16th, 2007, 08:01 AM
  2. LDAPPasswordAuthenticationDao problem
    By benoit_m35 in forum Security
    Replies: 15
    Last Post: Jan 11th, 2006, 07:04 AM
  3. Replies: 3
    Last Post: Sep 22nd, 2005, 10:14 AM
  4. Replies: 3
    Last Post: Aug 24th, 2005, 04:18 PM
  5. Replies: 5
    Last Post: Jun 24th, 2005, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •