Skip to Content

Datahub publication hanging

I am transporting Product Master Data from SAP ERP via datahub to hybris.

The process works correctly with my test requests from postman.

When I create a productive load via SAP (Transaction BD10) I can see all ARTMAS IDOC's coming in to the datahub and being composed. But from a certain amount of IDOC's not all publications go through to hybris.

After a certain point all new publications remain in State IN_PROGRESS and I can see no more logs of the following type for those publications.

 [ItemImportController] resultCallbackUrl: 

Any new publication from other raw items stays also IN_PROGRESS.

Has anyone had this issue too?

Kind regards Fabian

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 21, 2016 at 08:00 AM

    The problem is not occurring anymore.

    What did we do?

    • Make sure that the datahub gets IDOC's in controlled manner (periodic jobs with controlled number of IDOCs) because we have autopublication active

    • Make sure that IDOC's are processed in SAP in the exact order that they were produced (Standard Report RSE_OUT00 does not care about that)

    • Check all translators and interceptors on Hybris side for possible exceptions. In previous cases this was most of the time the reason for publications hanging IN_PROGRESS. When Hybris crashes, the impex import job does not return an answer to the datahub which is why it does not proceed. Normally you can grasp the impex from the cronjob on that time with status SYSTEM_ERROR. Unfortunately with the current situation the cronjob wasn't there anymore and we could not find any logs in hybris. The reason was an interceptor which has thrown an exception that was caught elsewhere but not logged.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2016 at 01:29 PM

    Sometimes it helps to use jstack from the JDK to identify what the threads are doing. This might help you see what is going on.

    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.