AnsweredAssumed Answered

'EHCache configuration failed' creating webscript test

Question asked by gjferrier on Jul 25, 2011
Hi,

I am trying to extend the BasicWebscriptTest to test a bespoke webscript implementation, but am finding an issue when bootstrapping the spring setup.  Here is the output from the test pointing towards the problem -

Error creating bean with name 'propertyValueSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#25861086' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#25861086' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'internalEHCacheManager': FactoryBean threw exception on object creation; nested exception is org.alfresco.error.AlfrescoRuntimeException: 06250002 EHCache configuration failed

Has anyone any experience of such a problem? 

MTIA

Outcomes