Symptom
Deployment failed at "Running type system upgrade" step, here is error logs:
{"instant":{"epochSecond":1720591112,"nanoOfSecond":782925066},"thread":"main","level":"WARN","loggerName":"de.hybris.platform.spring.ctx.CloseAwareApplicationContext","message":"Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSapUserVerificationTokenService' defined in class path resource [user-spring.xml]: Invocation of init method failed; nested exception is de.hybris.platform.jalo.security.PasswordEncoderNotFoundException: cannot find password encoder for encoding 'pbkdf2'[HY-0]","endOfBatch":false,"loggerFqcn":"org.apache.commons.logging.impl.SLF4JLocationAwareLog","contextMap":{"Tenant":""},"threadId":1,"threadPriority":5,"origin":"PLATFORM"}
Jul 10, 2024 5:58:32 AM de.hybris.platform.solr.controller.commands.StopSolrServersCommand executeCommand
INFO: Stopping Solr servers ...
de.hybris.platform.core.UninstantiableCoreApplicationContextException: Error creating Spring application context.
at de.hybris.platform.core.AbstractTenant.doStartupSafe(AbstractTenant.java:833)
at de.hybris.platform.core.AbstractTenant.doStartUp(AbstractTenant.java:760)
at de.hybris.platform.core.Registry.assureTenantStarted(Registry.java:658)
at de.hybris.platform.core.Registry.activateTenant(Registry.java:719)
at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:568)
at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:627)
at de.hybris.platform.util.ClientExecuter.execute(ClientExecuter.java:36)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at de.hybris.bootstrap.loader.Loader.execute(Loader.java:144)
at de.hybris.bootstrap.loader.Loader.main(Loader.java:108)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSapUserVerificationTokenService' defined in class path resource [user-spring.xml]: Invocation of init method failed; nested exception is de.hybris.platform.jalo.security.PasswordEncoderNotFoundException: cannot find password encoder for encoding 'pbkdf2'[HY-0]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591)
at de.hybris.platform.core.HybrisContextFactory.refreshContext(HybrisContextFactory.java:88)
at de.hybris.platform.core.HybrisContextFactory$ApplicationContextFactory.build(HybrisContextFactory.java:256)
at de.hybris.platform.core.HybrisContextHolder.getApplicationInstance(HybrisContextHolder.java:78)
at de.hybris.platform.core.AbstractTenant.createCoreApplicationContext(AbstractTenant.java:788)
at de.hybris.platform.core.AbstractTenant.doStartupSafe(AbstractTenant.java:829)
... 12 more
Caused by: de.hybris.platform.jalo.security.PasswordEncoderNotFoundException: cannot find password encoder for encoding 'pbkdf2'[HY-0]
at de.hybris.platform.persistence.security.PasswordEncoderFactoryImpl.getEncoder(PasswordEncoderFactoryImpl.java:134)
at de.hybris.platform.servicelayer.user.impl.DefaultSapUserVerificationTokenService.lambda$validateConfiguredEncoders$4(DefaultSapUserVerificationTokenService.java:235)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at de.hybris.platform.servicelayer.user.impl.DefaultSapUserVerificationTokenService.validateConfiguredEncoders(DefaultSapUserVerificationTokenService.java:231)
at de.hybris.platform.servicelayer.user.impl.DefaultSapUserVerificationTokenService.afterPropertiesSet(DefaultSapUserVerificationTokenService.java:107)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
... 26 more
Read more...
Environment
SAP Commerce Cloud
Product
Keywords
KBA , CEC-SCC-CLA-DEP , Deployments , 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.