2 Replies Latest reply on Jun 15, 2009 12:37 PM by Dustin Callaway

    Any way to ignore cache loader exceptions?

    Dustin Callaway Newbie

      I'm working on a caching solution that requires each server in the farm to maintain its own local cache using sticky sessions. For fault tolerance, I'd also like to asynchronously persist cached items to a JDBCCacheLoader. This way, if one of the servers fail, another server can take over for it by retrieving its information from the database. This seems to work well with the basic JDBCCacheLoader configuration as long as the database is available. However, if the database fails so does all caching operations on all web servers. To avoid having the database present a single point of failure, I'd prefer to ignore the JDBCCacheLoader exceptions (just log them) and allow the system to continue running using only the local caches. Is there a way to do this?

      Thanks!

      Dustin