My Oracle Support Banner

media-internal-binary Items Are Published Every Time Requested Because LastModified Test in DistributorReader Never Matches (Doc ID 1954453.1)

Last updated on APRIL 04, 2017

Applies to:

Oracle Commerce Platform - Version 9.4.0.4 and later
Information in this document applies to any platform.

Symptoms

The PublishingWebAgent continually publishes media-internal-binary items every time they are requested, even though they are already found on the application sever and have not been modified.

This I/O increases page latency causing excessive network I/O and disk I/O with no benefit.

To verify if this is indeed the problem you are experiencing, enable loggingDebug on /atg/dynanmo/server/DistributorServer and configure media-internal-binary data on a target system to push image data to DistributorServer. In the log file you will see the same file being pushed again and again:

**** debug    Fri Aug 01 11:27:31 CDT 2014    /atg/dynamo/server/DistributorServer    Checking file ourHdr.jpg; path="/acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg"; size="117193"
**** debug    Fri Aug 01 11:27:31 CDT 2014    /atg/dynamo/server/DistributorServer    File /acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg's size (117193) matches 117193
**** debug    Fri Aug 01 11:27:31 CDT 2014    /atg/dynamo/server/DistributorServer    File /acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg's lastModified (1389860496000) does NOT match 1389869916939
**** debug    Fri Aug 01 11:27:31 CDT 2014    /atg/dynamo/server/DistributorServer    File /acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg is not the same
**** info    Fri Aug 01 11:27:31 CDT 2014    /atg/dynamo/server/DistributorServer    PUT ourHdr.jpg; path="/acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg"; size="117193"; last modified="1389869916939"; last modified date="1/16/14 4:58 AM"
**** info    Fri Aug 01 11:27:31 CDT 2014    /atg/dynamo/server/DistributorServer    Wrote file: name="ourHdr.jpg"; path="/acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg"; size="117193"; last modified="1389869916000"; last modified date="1/16/14 4:58 AM"
  :
  :
**** debug    Fri Aug 01 11:29:41 CDT 2014    /atg/dynamo/server/DistributorServer    Checking file ourHdr.jpg; path="/acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg"; size="117193"
**** debug    Fri Aug 01 11:29:41 CDT 2014    /atg/dynamo/server/DistributorServer    File /acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg's size (117193) matches 117193
**** debug    Fri Aug 01 11:29:41 CDT 2014    /atg/dynamo/server/DistributorServer    File /acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg's lastModified (1389869916000) does NOT match 1389869916939
**** debug    Fri Aug 01 11:29:41 CDT 2014    /atg/dynamo/server/DistributorServer    File /acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg is not the same
**** info    Fri Aug 01 11:29:41 CDT 2014    /atg/dynamo/server/DistributorServer    PUT ourHdr.jpg; path="/acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg"; size="117193"; last modified="1389869916939"; last modified date="1/16/14 4:58 AM"
**** info    Fri Aug 01 11:29:41 CDT 2014    /atg/dynamo/server/DistributorServer    Wrote file: name="ourHdr.jpg"; path="/acme.com/htdocs/images/MEDIA_ProductCatalog/ourHdr.jpg"; size="117193"; last modified="1389869916000"; last modified date="1/16/14 4:58 AM"

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.