diff --git a/.classpath b/.classpath index 5779e50219..9047d483ee 100644 --- a/.classpath +++ b/.classpath @@ -42,7 +42,6 @@ - @@ -52,5 +51,6 @@ + diff --git a/core/src/test/resources/ehcache-failsafe.xml b/core/src/test/resources/ehcache-failsafe.xml new file mode 100644 index 0000000000..0f4b17031e --- /dev/null +++ b/core/src/test/resources/ehcache-failsafe.xml @@ -0,0 +1,52 @@ + + + + + + + + + + diff --git a/core/src/test/resources/org/acegisecurity/applicationContext.xml b/core/src/test/resources/org/acegisecurity/applicationContext.xml index a59ee01240..f350e0dfeb 100644 --- a/core/src/test/resources/org/acegisecurity/applicationContext.xml +++ b/core/src/test/resources/org/acegisecurity/applicationContext.xml @@ -28,6 +28,9 @@ + + classpath:/ehcache-failsafe.xml + diff --git a/doc/docbook/index.xml b/doc/docbook/index.xml index 4d311f36fa..490c9b10c7 100644 --- a/doc/docbook/index.xml +++ b/doc/docbook/index.xml @@ -1211,7 +1211,11 @@ public aspect DomainObjectInstanceSecurityAspect implements InitializingBean { <property name="userCache"><ref bean="userCache"/></property> </bean> -<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"/> +<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"> + <property name="configLocation"> + <value>classpath:/ehcache-failsafe.xml</value> + </property> +</bean> <bean id="userCacheBackend" class="org.springframework.cache.ehcache.EhCacheFactoryBean"> <property name="cacheManager"> @@ -3414,7 +3418,11 @@ $CATALINA_HOME/bin/startup.sh <!-- <property name="trustStore"><value>/some/path/to/your/lib/security/cacerts</value></property> --> </bean> -<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"/> +<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"> + <property name="configLocation"> + <value>classpath:/ehcache-failsafe.xml</value> + </property> +</bean> <bean id="ticketCacheBackend" class="org.springframework.cache.ehcache.EhCacheFactoryBean"> <property name="cacheManager"> diff --git a/project.xml b/project.xml index 06cb790e3d..9496499dbe 100644 --- a/project.xml +++ b/project.xml @@ -137,7 +137,7 @@ ehcache ehcache - 0.9 + 1.1 jar http://ehcache.sourceforge.net