on 07-17-2014 3:32 PM - last edited on 02-04-2024 3:45 AM by postmig_api_4
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,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks experts, for your effort and time. Helped a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its better to go with standalone one. So its not dependent on the hybrisserver startup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.