cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris server issue

[EncryptionUtil] /Users/mohitagarwal/Documents/hybris1/hybris/config/security/default-128-bit-aes-key.hybris (No such file or directory) i am facing this issue for a while while starting the hyybris server

org.springframework.beans.FatalBeanException: Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'defaultSystemSetupAuditDAO' defined in class path resource [core-spring.xml]: Cannot resolve reference to bean 'flexibleSearchService' while setting bean property 'flexibleSearchService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFlexibleSearchService' defined in class path resource [servicelayer-spring.xml]: Cannot resolve reference to bean 'modelService' while setting bean property 'modelService'; 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.IllegalStateException: Value encryptor not properly initialized


former_member27
Community Manager
Community Manager
0 Kudos

Hi mohit816,

Thank you for visiting SAP Community to get answers to your questions.

As you're looking to get the most out of your community membership, please consider including a profile picture to increase user engagement & additional resources to your reference that can really benefit you:

Profile https://developers.sap.com/tutorials/community-profile.html

Tips for Questions: https://community.sap.com/resources/questions-and-answers

Consider taking our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html.

I hope you find this advice useful, and we're happy to have you as part of the SAP Community!

All the best,

Dedi

0 Kudos

Hi Mohit, Is this issue resolved. I am also facing the same issue. Appreciate any suggestions on this.

Thank you,

Harish_Vatsa
Active Contributor

Hello mohit.agrawall,

The whole encryption key configuration is stored in properties and follows a simple schema. Please make sure, this has been configured correctly.

symmetric.key.file.1=default-128-bit-aes-key.hybris
summetric.key.file.default=1

You can also refer the below link for more information:

https://help.sap.com/docs/SAP_COMMERCE/d0224eca81e249cb821f2cdf45a82ace/8b2c75c886691014bc12b8b532a9...

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish_Vatsa
Active Contributor

The whole encryption key configuration is stored in properties and follows a simple schema. Please make sure, this has been configured correctly.

symmetric.key.file.1=default-128-bit-aes-key.hybris
summetric.key.file.default=1

You can also refer the below link for more information:

https://help.sap.com/docs/SAP_COMMERCE/d0224eca81e249cb821f2cdf45a82ace/8b2c75c886691014bc12b8b532a9...

0 Kudos

Cool. That worked for me. Thank your Harish for the suggestion.

Harish_Vatsa
Active Contributor

Hello 169369378250,

I am glad to hear that the solution worked for you and the issue is fixed.

Please accept the answer, if you don't have any further query.