Wednesday, March 30, 2016

Oracle Endeca Commerce 11.x : How to troubleshoot file based promote content in Distributed environment?

On an Oracle Endeca Commerce 11.1 and later version, promote_content script publishes content to a folder as  zip  file format and ATG store... thumbnail 1 summary
On an Oracle Endeca Commerce 11.1 and later version, promote_content script publishes content to a folder as zip file format and ATG store instance reads and cache the zip file to serve the Endeca pages.

Endeca End : 

- ApplicationExportDirectory property in workbenchConfig.xml sets to tools and framework default path. Make sure ApplicationExportDirectory property pointing to correct shared location path. Find out sample config below :-

<custom-component id="IFCR" host-id="ITLHost" class="com.endeca.soleng.eac.toolkit.component.IFCRComponent">
    <properties>
      <property name="repositoryUrl" value="http://localhost:8006/ifcr" />
      <property name="applicationExportDir" value="/shared_folder_path"/>
      <property name="numExportBackups" value="3" />
      <property name="credentialsKey" value="ifcr"/>
    </properties>
    <custom-bean ref="csfManager"/>
  </custom-component>

- Make sure  Endeca ITL host has proper permission to write under specified shared folder.

- Make sure all Store instances host and port entry in LiveAppServerCluster.xml


ATG End : -

- /atg/endeca/assembler/cartridge/manager/DefaultFileStoreFactory component is responsible to read zip file from shared location. Make sure configurationPath points to correct shared folder.

atg_endeca_assembler_cartridge_manager_DefaultFileStoreFactory_Configuration_Path

- Make sure store instance has permission to read files under shared folder

4 comments

Unknown said...

HI Ajay,

Thank for the information about fileStoreFactory.

I have a query regarding fileStoreFactory ,we have mutliple MDEX environments in cluster,each server has dedicated live dgraph running and assemblers pointing to the corresponding dgraph.

Now if i do the promote_content i need the same copy of the exported content to be copied to the all servers which are in cluster .Is this possible ?without shared folder(single location).

And also can you please explain how the .mdex._.zip file content will be used between clustered MDEXs.

Thank you,
Raja

Ajay Agrawal said...

Hi Raja,

Which version of Endeca that you are using. You can achieve not to use shared folder to copy to all servers using older approach of promote content where all the contents will be part of Dgraph instead of physical file location.

I hope this helps.

Thanks,
Ajay Agrawal

Unknown said...

Hi Ajay,

Thank you for the reply,we are migrating form version 3.1.2 to 11.0 .
Sorry i didn't get you properly.If i use ecrStoreFactory ,all debugging information is returned as part of response which is unnecessary ,if i use fileStoreFactory i end up restarting my tomcat assembler web applications for every new promote content files.
in WorkbenchConfig.xml the below job is there as part of promote_content.
AssemblerUpdate.updateAssemblers() may i know the role of this job .

Thank you,
Rajarao

Ajay Agrawal said...

AssemblerUpdate.updateAssemblers() this service update the assembler with new zip file created. ecrStoreFactory, which kind of debugging information that is coming?

Post a Comment

Note: Only a member of this blog may post a comment.

Text Widget