added shared CacheManager and ehcache.xml support