Skip to Content

Data hub Installation is failed for 6.1/6.0 version

Hi,

I am trying to implement the Data hub. I started doing the trail.

https://help.hybris.com/6.1.0/hcd/d4f38c211baf4d209dd548f2d9b0afce.html

In the above page when I am trying to start the Tomcat server it is throwing the below error

2016-08-11 18:24:44,913 [WARN] [c.h.d.s.ExtensionEnabledXmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0': Cannot resolve reference to bean 'userDetailsService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Bean instantiation via constructor failed; nested at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1469) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.beans.factory.support.AbstractAu

I attached the complete error trace for your reference. I am getting the same error when I tried with 6.0 version as well (datahub-webapp-6.0.0.2-RC1.war)

Thanks Mohan sai kumar link text

Add a comment
10|10000 characters needed characters exceeded

  • Could you attach the complete log from beginning of the startup of the data hub ?
    This error could likely be a symptom of another error happening before.
    Also set the property kernel.autoInitMode=create-drop to avoid having error caused by data already in the database.

Related questions

1 Answer

  • Posted on Aug 12, 2016 at 02:58 PM

    The error indicates a problem initializing Spring Security. Are you certain you have configured the security related properties (ie. datahub.security.basic.admin.use, etc)? And that the local.properties you are using is actually the local.properties Data Hub is loading?

    If you still have problems, you could try attaching the COMPLETE catalina.out for this startup. And your local.properties file

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.