After stoping Tomcat 5 my spring.log containts:
support.AbstractBeanFactory Retrieving dependent beans for bean 'userCache'
07.апр.2005 18:19:05,139 support.AbstractBeanFactory$1 Invoking destroy() on bean with name 'userCache'
07.апр.2005 18:19:05,171 support.AbstractBeanFactory Destroy method on bean with name 'userCache' threw an exception
java.lang.IllegalStateException: The CacheManager is not alive.
at net.sf.ehcache.CacheManager.checkStatus(CacheManag er.java:417)
at net.sf.ehcache.CacheManager.removeCache(CacheManag er.java:355)
at net.sf.acegisecurity.providers.dao.cache.EhCacheBa sedUserCache.destroy(EhCacheBasedUserCache.java:11 3)
Code:<bean id="daoAuthenticationProvider" class="net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider"> <property name="authenticationDao"><ref local="jdbcAuthenticationDao"/></property> <property name="userCache"><ref local="userCache"/></property> </bean> <bean id="userCache" class="net.sf.acegisecurity.providers.dao.cache.EhCacheBasedUserCache"> <property name="minutesToIdle" value="5"/> </bean>
What's wrong? Where is my mistake?


