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

Am getting this below error, When try to push IDOC into datahub

2016-07-15 16:09:06,768 [ERROR] [c.h.d.s.i.PublicationActionHandler] Publication #1 to target system HybrisCore failed com.hybris.datahub.api.publication.PublicationException: An error occurred during the export of impex file at com.hybris.datahub.core.adapter.impl.CoreAdapterService.targetSystemPublication(CoreAdapterService.java:107) ~[datahub-core-export-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.core.adapter.impl.CoreAdapterService.publish(CoreAdapterService.java:87) ~[datahub-core-export-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.startPublication(DefaultDataHubPublicationService.java:173) ~[datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.publish(DefaultDataHubPublicationService.java:86) ~[datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.impl.PublicationActionHandler$5.doInTransaction(PublicationActionHandler.java:209) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.impl.PublicationActionHandler$5.doInTransaction(PublicationActionHandler.java:198) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.hybris.datahub.service.impl.PublicationActionHandler.publishToTargetSystems(PublicationActionHandler.java:197) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.impl.PublicationActionHandler.handlePublicationAction(PublicationActionHandler.java:82) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.impl.PublicationActionHandler.handleActionInternal(PublicationActionHandler.java:75) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.impl.PublicationActionHandler.handleActionInternal(PublicationActionHandler.java:52) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.impl.AbstractTransactionManagingActionHandler$1.doWithRetry(AbstractTransactionManagingActionHandler.java:62) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.impl.AbstractTransactionManagingActionHandler$1.doWithRetry(AbstractTransactionManagingActionHandler.java:53) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:263) [spring-retry-1.1.1.RELEASE.jar:na] at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:168) [spring-retry-1.1.1.RELEASE.jar:na] at com.hybris.datahub.service.impl.AbstractTransactionManagingActionHandler.executeWithRetry(AbstractTransactionManagingActionHandler.java:52) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:69) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.service.integration.impl.PoolActionMessageHandler.handleMessage(PoolActionMessageHandler.java:46) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at org.springframework.integration.endpoint.PollingConsumer.handleMessage(PollingConsumer.java:74) [spring-integration-core-4.1.0.RELEASE.jar:na] at com.hybris.datahub.service.integration.impl.BlockingPollingConsumer.handleMessage(BlockingPollingConsumer.java:35) [datahub-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at org.springframework.integration.endpoint.AbstractPollingEndpoint.doPoll(AbstractPollingEndpoint.java:219) [spring-integration-core-4.1.0.RELEASE.jar:na] at org.springframework.integration.endpoint.AbstractPollingEndpoint.access$000(AbstractPollingEndpoint.java:55) [spring-integration-core-4.1.0.RELEASE.jar:na] at org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:149) [spring-integration-core-4.1.0.RELEASE.jar:na] at org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:146) [spring-integration-core-4.1.0.RELEASE.jar:na] at org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller$1.run(AbstractPollingEndpoint.java:298) [spring-integration-core-4.1.0.RELEASE.jar:na] at org.springframework.integration.util.ErrorHandlingTaskExecutor$1.run(ErrorHandlingTaskExecutor.java:52) [spring-integration-core-4.1.0.RELEASE.jar:na] at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50) [spring-core-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.integration.util.ErrorHandlingTaskExecutor.execute(ErrorHandlingTaskExecutor.java:49) [spring-integration-core-4.1.0.RELEASE.jar:na] at org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller.run(AbstractPollingEndpoint.java:292) [spring-integration-core-4.1.0.RELEASE.jar:na] at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) [spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_73] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_73] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_73] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_73] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73] Caused by: com.hybris.datahub.api.publication.PublicationException: Error reported from target system at com.hybris.datahub.core.client.impl.DefaultExportClient.validateExportResponse(DefaultExportClient.java:200) ~[datahub-core-export-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.core.client.impl.DefaultExportClient.export(DefaultExportClient.java:85) ~[datahub-core-export-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] at com.hybris.datahub.core.adapter.impl.CoreAdapterService.targetSystemPublication(CoreAdapterService.java:102) ~[datahub-core-export-service-5.5.1.0-RC9.jar:5.5.1.0-RC9] ... 37 common frames omitted 2016-07-15 16:09:06,821 [DEBUG] [c.h.d.r.i.DefaultTargetItemRepository] Finding Target Items for Publication for class: SalesVariant, last processed item id: 0 page size: 1000

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 15, 2016 at 07:24 PM

    1) have you done any customization ??? 2) Only few inputs are failing? or is there any specific data with special characters are failing? 3) As Robin said. Please do attach datahub and application logs. which gives a clear idea to identify the root cause.

    Thank you.

    Samudrala

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2016 at 11:08 AM
     2016-07-18 13:21:30,949 [DEBUG] [c.h.d.c.a.i.CoreAdapterService] Creating impex for export to: http://localhost:9001/datahubadapter
     2016-07-18 13:21:33,617 [INFO] [c.h.d.c.c.i.DefaultExportClient] Authenticating publish to HybrisCore
     2016-07-18 13:21:39,142 [INFO] [c.h.d.c.c.i.DefaultExportClient] Exporting Export_HybrisCore_0803743823 name to HybrisCore
     2016-07-18 13:21:39,817 [DEBUG] [c.h.d.c.c.i.DefaultExportClient] Status of the response from publish to target system: HybrisCore, 403
    

    Looking at the log, the errors occurs when the Data Hub tries to send information to the platform.

    Does the address http://localhost:9001/datahubadapter is valid to communicate to the platform ?
    Have you set the proper user and password in Data Hub properties to connect to the platform ?

    The SAP extension sapcoreconfiguration uses the following default properties values:

     # Default values :
     targetsystem.hybriscore.url=http://localhost:9001/datahubadapter
     targetsystem.hybriscore.username=admin
     targetsystem.hybriscore.password=nimda
    
    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.