AnsweredAssumed Answered

'new instance of CacheManager' failure

Question asked by mavetju on May 14, 2007
Latest reply on Jul 2, 2007 by prajjwal
Hi,

I am trying to setup Alfresco 2.0 with Tomcat 5.5. I thought I had all the pre-requisites installed, but it still doesn't start. The error I'm getting is:

16:03:38,869 ERROR [web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'schemaBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]:
Can't resolve reference to bean 'patch.schemaUpdateScript-V1.4-1' while setting property 'preUpdateScriptPatches[0]'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'patch.schemaUpdateScript-V1.4-1' defined in file [/usr/local/tomcat5.5/webapps/alfresco/WEB-INF/classes/alfresco/patch/patch-services-context.xml]:
Can't resolve reference to bean 'patchComponent' while setting property 'patchService'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'patchComponent' defined in file [/usr/local/tomcat5.5/webapps/alfresco/WEB-INF/classes/alfresco/patch/patch-services-context.xml]:
Can't resolve reference to bean 'descriptorComponent' while setting property 'descriptorService'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'descriptorComponent' defined in class path resource [alfresco/bootstrap-context.xml]:
Can't resolve reference to bean 'systemBootstrap' while setting property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]:
Can't resolve reference to bean 'importerComponent' while setting property 'importerService'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'importerComponent' defined in class path resource [alfresco/import-export-context.xml]:
Can't resolve reference to bean 'NodeService' while setting property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'NodeService_security' defined in class path resource [alfresco/public-services-security-context.xml]:
Can't resolve reference to bean 'accessDecisionManager' while setting property 'accessDecisionManager'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'accessDecisionManager' defined in class path resource [alfresco/public-services-security-context.xml]:
Can't resolve reference to bean 'aclEntryVoter' while setting property 'decisionVoters[2]'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'aclEntryVoter' defined in class path resource [alfresco/public-services-security-context.xml]:
Can't resolve reference to bean 'permissionService' while setting property 'permissionService'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'permissionService' defined in class path resource [alfresco/public-services-security-context.xml]:
Can't resolve reference to bean 'permissionServiceImpl' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'permissionServiceImpl' defined in class path resource [alfresco/public-services-security-context.xml]:
Can't resolve reference to bean 'authorityService' while setting property 'authorityService'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'authorityService' defined in class path resource [alfresco/authority-services-context.xml]:
Can't resolve reference to bean 'authorityDAO' while setting property 'authorityDAO'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'authorityDAO' defined in class path resource [alfresco/authority-services-context.xml]:
Can't resolve reference to bean 'userToAuthorityCache' while setting property 'userToAuthorityCache'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'userToAuthorityCache' defined in class path resource [alfresco/cache-context.xml]:
Can't resolve reference to bean 'transactionalEHCacheManager' while setting property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'transactionalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]:
Initialization of bean failed; nested exception is net.sf.ehcache.CacheException:
Cannot parseConfiguration CacheManager. Attempt to create a new instance of CacheManager using the diskStorePath "/usr/local/tomcat5.5/temp" which is already used by an existing CacheManager.

I think that the solution could be something like in alfresco/cache-context.xml:
http://issues.appfuse.org/browse/APF-422;jsessionid=aM6A1hADYj5dK-8KLa?page=all

But I didn't get a working configuration. Anybody with suggestions?

Edwin


Edwin

Outcomes