/** Requires to stop the engine when image servlet un-deploys */ public void stopFileManager() { try { cacheManager.getManager().stop(); LOGGER.info("Stopping CMS"); } catch (Exception e) { LOGGER.error("Error while stopping CmsImageFileManager", e); } }