SunWebApp bean = webModule.getIasWebAppConfigBean();
// Configure the cache, cache-mapping and other settings
if (bean != null) {
CacheManager cm = null;
try {
cm = CacheModule.configureResponseCache(webModule, bean);
} catch (Exception ee) {
_logger.log(Level.WARNING, CACHE_MRG_EXCEPTION, ee);
}
if (cm != null) {
try {
// first start the CacheManager, if enabled
cm.start();
if (_logger.isLoggable(Level.FINE)) {
_logger.log(Level.FINE, CACHE_MANAGER_STARTED);
}
// set this manager as a context attribute so that
// caching filters/tags can find it