cancel
Showing results for 
Search instead for 
Did you mean: 

Data Hub Installation

Former Member
0 Kudos

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,

Accepted Solutions (1)

Accepted Solutions (1)

ramkotagiri
Explorer
0 Kudos

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.

Answers (6)

Answers (6)

Former Member
0 Kudos

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

rafal_gdowski
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

ramkotagiri
Explorer
0 Kudos

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

Former Member
0 Kudos

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 ?

rafal_gdowski
Active Contributor
0 Kudos

Timo,

For the sake of simplicity, a standalone Tomcat would be easier for now. You can embed the data hub in the platform, but for development it is easier not to.

rafal_gdowski
Active Contributor
0 Kudos

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.