SAP Knowledge Base Article - Preview

3439867 - Deployment failed after restore the snapshot due to missing security files

Symptom

The deployment failed after the snapshot was restored, returning the following error message:

{"instant":{"epochSecond":1709198371,"nanoOfSecond":911305047},"thread":"localhost-startStop-1","level":"ERROR","loggerName":"de.hybris.platform.util.encryption.EncryptionUtil","message":"/opt/hybris/config/security/xxxxxx-xxx-Bit-AES-Key-xxxx.hybris (No such file or directory)","endOfBatch":false,"loggerFqcn":"org.apache.logging.slf4j.Log4jLogger","contextMap":{"Tenant":""},"threadId":23,"threadPriority":5,"origin":"PLATFORM"}
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultAfterSaveListenerRegistry' defined in class path resource [core-spring.xml]: Unsatisfied dependency expressed through bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultBackofficeRoleUpdateEventDispatcher' defined in class path resource [backoffice-spring.xml]: Cannot resolve reference to bean 'modelService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultModelService' defined in class path resource [servicelayer-spring.xml]: Cannot resolve reference to bean 'sourceTransformer' while setting bean property 'sourceTransformer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sourceTransformer' defined in class path resource [servicelayer-spring.xml]: Cannot resolve reference to bean 'sldDataContainerProvider' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSLDDataContainerProvider' defined in class path resource [persistence-spring.xml]: Cannot resolve reference to bean 'sldItemDAO' while setting bean property 'sldItemDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSLDItemDAO': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException

  


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud all versions

Keywords

Security files, Data backup and Restore, Snapshot and Restore, Deployment/Build failing, Trusted certificate, Bean error: "defaultSLDItemDAO", ccv2, hybris  , KBA , CEC-SCC-CLA-DEP , Deployments , Known Error

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.