cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Catalog Import failed and getting the readtimedout error from Hybris

Former Member
0 Kudos

Hi Team,

Regarding auto catalog import issue, while executing auto catalog import, inconsistently, we are getting read timed out error from Hybris. While doing manual import, it is getting success response.

PF below logs attached. We are facing this issue frequently these days. Please let us know if any solution for this.

Hybris version used: 4.8.12.

10.04.2015 11:21:47.848 INFO [pool-5-thread-2] org.apache.commons.httpclient.HttpMethodDirector I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server 10.54.54.51 failed to respond 10.04.2015 11:21:47.848 INFO [pool-5-thread-2] org.apache.commons.httpclient.HttpMethodDirector Retrying request 10.04.2015 11:31:48.173 ERROR [pool-5-thread-2] com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl Updating catalog "ProductCatalog" from Hybris failed: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1098] Message: Read timed out at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:596) at com.sun.xml.internal.stream.XMLEventReaderImpl.peek(XMLEventReaderImpl.java:275) at com.adobe.cq.commerce.hybris.importer.XMLEventReaderUtil.skipNonElementEvents(XMLEventReaderUtil.java:127) at com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl.importProducts(HybrisImporterImpl.java:308) at com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl.updateCatalog(HybrisImporterImpl.java:164) at com.adobe.cq.commerce.hybris.impl.importer.PollingCatalogUpdater.importData(PollingCatalogUpdater.java:52) at com.day.cq.polling.importer.impl.PollingImporterImpl.importData(PollingImporterImpl.java:341) at com.day.cq.polling.importer.impl.PollingImporterImpl.access$000(PollingImporterImpl.java:52) at com.day.cq.polling.importer.impl.PollingImporterImpl$1.run(PollingImporterImpl.java:262) at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:56) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)

All the last three auto catalog import happened successfully. PFB for log. 10.04.2015 15:22:15.675 INFO [pool-5-thread-4] com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl Total Product Count: 2307 10.04.2015 15:52:13.024 INFO [pool-5-thread-2] com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl Total Product Count: 2307 10.04.2015 16:22:12.324 INFO [pool-5-thread-3] com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl Total Product Count: 2307

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

May be the xml data is open in any other instance. When import is running please close all the opened xml's

Former Member
0 Kudos

Hi Vinay, This was automated import process which will be executed for every 1 hr at CQ5 end. our project is CQ5 and hybris.integration

Former Member
0 Kudos

when it is executing are you sure that file is completely available. Or the above said job is running when CQ5 is generating xml?? can you check that..

Former Member
0 Kudos

Better you put mechainsum if file is completely created and released. then only you run your job.