Symptom
After installing a custom extension created from the ycommercewebservices template, the SAP Commerce Cloud may startup failed, and the following errors were observed in the logs.
|
WARN [Catalina-utility-5] [TenantIgnoreXmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tmaAddressController’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘defaultDataMapper’ defined in ServletContext resource [/WEB-INF/config/v2/dto-mappings-v2-spring.xml]: Cannot resolve reference to bean ‘fieldSetBuilder’ while setting bean property ‘fieldSetBuilder’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘defaultFieldSetBuilder’ defined in ServletContext resource [/WEB-INF/config/v2/dto-level-mappings-v2-spring.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Unexpected AOP exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.cache.interceptor.CacheInterceptor#0’: Cannot resolve reference to bean ‘compositeWsCacheManager’ while setting bean property ‘cacheManager’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘defaultCompositeWSCacheManager’ defined in ServletContext resource [/WEB-INF/config/common/cache-config-spring.xml]: Cannot resolve reference to bean ‘wsCacheManagerList’ while setting bean property ‘cacheManagers’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘defaultWsCacheManagerList’: Cannot resolve reference to bean ‘defaultWSCacheManager’ while setting bean property ‘sourceList’ with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘defaultWSCacheManager’ defined in ServletContext resource [/WEB-INF/config/common/cache-config-spring.xml]: Cannot resolve reference to bean ‘wsEhcache’ while setting bean property ‘cacheManager’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘defaultWSEhcache’ defined in ServletContext resource [/WEB-INF/config/common/cache-config-spring.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Another CacheManager with same name ‘wsCache_master’ already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following |
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- Product version: All SAP Commerce Cloud versions
Product
Keywords
wsCache_master,ycommercewebservices,CacheException,CacheManager , KBA , CEC-SCC-PLA-PL , Platform , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview