Skip to Content
author's profile photo Former Member
Former Member

Data Hub Installation

Dear all, whilte trying to install the data hub in hybris 5.2 I stuck at the following step

Run a RESTful GET call to verify your installation is active. http://{host}:{port}/datahub-webapp/v1/data-feeds/DEFAULT_FEED/pools. You would expect to get back a return value of 200 and the default Global pool.

I don't get any pool nor a 200. I just followed the steps in the installation document : https://wiki.hybris.com/display/release5/Installation+Guide+for+the+Data+Hub

Questions: 1.) I guess that, when hybris is running on localhost:9001 that's also the url ?? 2.) WAR file need to be deleted after explosion / installation (otherwise it will be reinstalled all the time) ? 3.) In datahub-webapp \WEB-INF\classes\module.properties there is a config for hybris.server.url = http://localhost:8080 - what does this mean in respect to the default port 9001 ? 4.) I even enabled extension platformwebservices ...

I tried to make a REST get on different ports but still no success (8080 = connection refused, 9001 = reponse 404 etc.).

Any help is really appreciated.

Regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

7 Answers

  • Best Answer
    Posted on Jul 17, 2014 at 03:12 PM

    Hi Timo,

    Have you deployed Data Hub on standalone tomcat? . if yes, then try the port on which standalone tomcat is running by default it runs on 8080.

    then u have to use

    http://localhost:8080/datahub-webapp/v1/data-feeds/DEFAULT_FEED/pools.

    Typically u have to use port number on which tomcat is running.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2014 at 03:08 PM

    Can you first verify that you installed your standalone Tomcat properly? You should be able to go to http://localhost:8080 and see the welcome page. If that's the case, then add the datahub-webapp.war file and proceed from there. BTW, the fact that connection is refused on port 8080 has nothing to do with the data hub.

    More specifically:

    1. Your hybris ecp(platform) installation will run on port 9001 by default. This is not the data hub.
    2. It is good practice to remove the war file, after you deploy for the first time. If you do not, it may still work just fine.
    3. This property is used for something else. You can ignore it for now.
    4. You do need platformwebservices, but much later. Let's focus on just getting the basic installation working.
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2014 at 03:21 PM

    Hi guys, thanks for the answers.

    I actually did stupid trail installation - just used commerce suite with the respective web server (catalina tomcat) and installed the data hub with the extension.

    So actually no stand alone web server ... Therefore I don't get the welcome page; instead the hybris login on 9001.

    So, is it a must to use a stand alone server or should it also work with the suite ?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2014 at 03:24 PM

    Its better to go with standalone one. So its not dependent on the hybrisserver startup.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2014 at 03:37 PM

    Thanks for the answers and advices - with stand alone server it worked immediately. Just for my curiosity, would it make sense to embedd data hub with hybris server and what would be the way to achieve this (I think there's need to change server configuration) ?

    Again thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2014 at 05:07 PM

    Embedding of any war file in the platform is documented here: https://wiki.hybris.com/display/release5/hybris+Server#hybrisServer-DeploymentofExternalWARfiles

    In the commerce distribution you will also find the relevant context.xml file under hybris\sampleconfigurations\datahub

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2014 at 04:04 PM

    Thanks experts, for your effort and time. Helped a lot.

    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.