cancel
Showing results for 
Search instead for 
Did you mean: 

404 error during y2ysyncjob

0 Kudos

Hi I am running a version 6.0 datahub server running on port 8134 and 6.0 suite on 9001. I am trying to implement the y2ysync. The configurations are done to the datahub server While executing the syncjob , the following error occurs

INFO [TaskExecutor-master-731-Task [8796297298870]] [DefaultExportService] Export was successful (using cronjob with code=000003DF)

INFO [TaskExecutor-master-733-Task [8796299527094]] [DefaultExportService] Export was successful (using cronjob with code=000003DM)

INFO [TaskExecutor-master-737-Task [8796296053686]] [DefaultExportService] Export was successful (using cronjob with code=000003DJ)

INFO [TaskExecutor-master-736-Task [8796293301174]] [DefaultExportService] Export was successful (using cronjob with code=000003DI)

INFO [TaskExecutor-master-738-Task [8796299690934]] [DefaultExportService] Export was successful (using cronjob with code=000003DO)

INFO [TaskExecutor-master-739-Task [8796293530550]] [DefaultExportService] Export was successful (using cronjob with code=000003DK)

INFO [TaskExecutor-master-730-Task [8796298838966]] [DefaultExportService] Export was successful (using cronjob with code=000003DN)

INFO [TaskExecutor-master-735-Task [8796293104566]] [DefaultExportService] Export was successful (using cronjob with code=000003DL)

INFO [TaskExecutor-master-734-Task [8796301329334]] [DefaultExportService] Export was successful (using cronjob with code=000003DP)

INFO [TaskExecutor-master-733-Task [8796301919158]] [DataHubRequestCreator] Sending request to datahub @ http://localhost:8143/datahub-webapp/v1/y2ysy

ERROR [TaskExecutor-master-733-Task [8796301919158]] [DataHubRequestTaskRunner] org.springframework.web.client.HttpClientErrorException: 404 Not Found

Can anyone help me with this????

former_member224482
Active Contributor
0 Kudos

The http service end point .../datahub-webapp/v1/y2ysy seems strange y2ysy. Could you validate there is no typo there ?

0 Kudos

http://localhost:8143/datahub-webapp/v1/y2ysync/v60 This is the same url i've given for the y2ysync.datahub.url in local properties The container gets uploaded to the datahub but when i run the syncjob the above error is shown

former_member224482
Active Contributor
0 Kudos

Why are you using port 8143 ? I recall the Data Hub running on port 8080 by default.

0 Kudos

well 8080 is being used for a different service so i changed datahub to 8143.. will that make a difference?? I am not running the demo present in the builder. I'm trying to sync between 2 local machines present in the same network... what are steps I need to follow for that?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You have to put the y2ysync-datahub-ext-X.X.X.X-RCX.jar in datahub-webapp libs directory.

This jar can be found in hybris\bin\ext-integration\datahub\extensions\y2ysync-datahub-ext.


You should have created a datahub-webapp.xml file in a tomcat instance according to this documentation : https://help.hybris.com/6.1.0/hcd/53f17f0a8bce4ccf85f65ab7dc52e880.html

In the virtualClasspath set <your_jars_path>/*.jar and put y2ysync-datahub-ext-X.X.X.X-RCX.jar in the configured directory.


You also need the raw, canonical and target configuration for electronics catalogs.

All jars can be found in the Solution Book, switch version in the upperleft corner according to your needs.