[jboss-user] [JBoss Cache: Core Edition] - Any way to ignore cache loader exceptions?

drcallaway do-not-reply at jboss.com
Fri Jun 12 13:29:02 EDT 2009


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

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237347#4237347

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237347



More information about the jboss-user mailing list