Tuesday, May 16, 2017

Whats New in Oracle Endeca Commerce 11.3?

Oracle-Commerce Workbench Experience Manager configuration (Template/Cartridges) moved from XML to JSON to support REST service based u... thumbnail 1 summary

    • Oracle-Commerce Workbench
      • Experience Manager configuration (Template/Cartridges) moved from XML to JSON to support REST service based update
      • Removed flash based experience manager to Javascript based 
      • New UI for Cartridge editor and rule list
      • New SDK approach to extend OOTB cartridge editors
      • Improved performance of  XM rules engine loading
      • Removed Rule manager
      • Inline delete option provide for boost and bury editor
    • Oracle-Commerce MDEX engine
      • REST API for search configuration to update configuration
        • Search Interface
        • Thesaurus
        • Redirects
        • Attributes and Dimensions
        • Precedence Rules
        • Record Filtering
      • Enhanced Type ahead functionality

    Wednesday, April 5, 2017

    Endeca 11.2 Preview : Missing deployment settings

    Behaviour :- Following Exception/Error comes in Endeca tools and framework IFCR log during preview page in 11.2 Endeca Experience manager... thumbnail 1 summary
  • Behaviour :-

    Following Exception/Error comes in Endeca tools and framework IFCR log during preview page in 11.2 Endeca Experience manager using preview functionality. 



    02.04.2017 19:46:50.750 *ERROR* [StoreDeploymentWorker] com.endeca.ifcr.deployment.StoreDeploymentWorker Store Deployment service failed for /sites/Discover/ javax.jcr.RepositoryException: javax.jcr.RepositoryException: Missing deployment settings
            at com.endeca.ifcr.deployment.StoreDeploymentWorker.processUpdates(StoreDeploymentWorker.java:397)
            at com.endeca.ifcr.deployment.StoreDeploymentWorker.collectAndProcessUpdates(StoreDeploymentWorker.java:187)
            at com.endeca.ifcr.deployment.StoreDeploymentWorker.run(StoreDeploymentWorker.java:148)
    Caused by: javax.jcr.RepositoryException: Missing deployment settings
            at com.endeca.ifcr.deployment.StoreDeploymentWorker.getApplicationExportPath(StoreDeploymentWorker.java:574)
            at com.endeca.ifcr.deployment.StoreDeploymentWorker.processUpdates(StoreDeploymentWorker.java:252)
            ... 2 more


    Root Cause:-
    The root cause of missing deployment setting is Endeca site content migration from older version of Endeca to 11.2. Migrate site utility does not generate deploymentSettings and reportSettings folder under /configuration/tools folder of exported zip file.

    Solution :-
    Follow the following steps to resolve this
    1. Export the tools using <<Endeca_APp>>/control/runcommand.sh IFCR exportApplication tool
    2. create deploymentSettings folder  under /configuration/tools folder
    3. Create a file _.json file and put the following content
    {
        "ecr:type": "deployment-settings",
        "authoringApplicationExportDirectory": "/opt/app/endeca/ToolsAndFrameworks/11.2.0/deployment_template/lib/../../server/workspace/state/generation_data"

    }
    4. import the tools once again.
    Missing deployment settings Endeca 11.2



    From Author

    Was this post resolve the solution you are looking for? are you looking for some other issues?Provide your comments

    Monday, March 27, 2017

    Endeca 11.x : There was a problem with the zip file given

    Behaviour :- Following Exception/Error comes during baseline or promoting content from Experience Manager. Error shows that " there ... thumbnail 1 summary
  • Behaviour :-

    Following Exception/Error comes during baseline or promoting content from Experience Manager. Error shows that "there was a problem with Zip File given". This exception leads to show blank page in production site


    INFO: [LiveMDEXHostA] Starting component 'DgraphA1'.
    Jan 24, 2017 12:52:14 PM bsh.Reflect invokeMethod
    INFO: Publishing Workbench 'live' configuration to MDEX 'DgraphA1'
    Jan 24, 2017 12:52:14 PM com.endeca.soleng.eac.toolkit.component.cluster.DgraphCluster applyConfigSnapshot
    SEVERE: 'LiveDgraphCluster': there was a problem with the zip file given. Please check the log for further details.An error occurred processing the zip file and preparing the files for processing
    Jan 24, 2017 12:52:14 PM com.endeca.soleng.eac.toolkit.utility.Utility start
    INFO: [LiveMDEXHostA] Starting shell utility 'rmdir_dgraph-input-old'.
    Jan 24, 2017 12:52:15 PM com.endeca.soleng.eac.toolkit.component.cluster.DgraphCluster applyIndex



    Caused by java.lang.reflect.InvocationTargetException
    sun.reflect.NativeMethodAccessorImpl invoke0 - null
    Caused by com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException


    Solution :-
    No New Content was added by business during promote content and zip file was correct. OOTB endeca creates a temporary files under /tmp folder before applying content to MDEX engine and tmp folder was out of space so zero bytes contents was getting applied to MDEX. Free some /temp space and promote content.


    From Author

    Was this post resolve the solution you are looking for? are you looking for some other issues?Provide your comments

    Endeca 11.x : Property 'priority' must be a positive integer

    Behaviour :- Following Exception/Error comes during Endeca experience manager content migration between environments or importing content... thumbnail 1 summary
  • Behaviour :-

    Following Exception/Error comes during Endeca experience manager content migration between environments or importing contents from zip file.


    SEVERE: Caught an exception while invoking method 'importApplication' on object 'IFCR'. Releasing locks.
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:931)
            at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:269)
            at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:137)
    Caused by: com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException: Internal Server Error (500): javax.jcr.RepositoryException:

    The following 2 validation failures occurred:
            [/sites/Discover/content/Web/Browse Pages/Boot Page] Property 'priority' must be a positive integer.
            [/sites/Discover/content/Web/Browse Pages/Helmets Page] Property 'priority' must be a positive integer.

            at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.execute(IFCRUtility.java:1016)
            at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPostDoNotConsume(IFCRUtility.java:957)
            at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPost(IFCRUtility.java:929)
            at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.importNode(IFCRUtility.java:686)
            at com.endeca.soleng.eac.toolkit.component.IFCRComponent.importContent(IFCRComponent.java:524)
            at com.endeca.soleng.eac.toolkit.component.IFCRComponent.importApplication(IFCRComponent.java:427)
            ... 7 more


    Solution :-
    Sometimes business user assigns rules priority less than 1 and Endeca XM accepts that value while saving the rule. Above Exception comes if any rule priority is less than 1. Ask business user not to assign rules priority as 0 or any value negative number. Extract the zip file and change the priority in respective JSON file as per error to any positive integer and try importing again.
    Endeca XM Rules Priority with zero Value



    From Author

    Was this post resolve the solution you are looking for? are you looking for some other issues?Provide your comments

    Saturday, March 4, 2017

    ATG-Endeca Integration : How to Enable/Disable automatic indexing after BCC Post Deployment?

    Endeca Indexing jobs getting triggered automatically just after BCC post deployment. IndexingDeploymentListners helps trigger indexing and ... thumbnail 1 summary
  • Endeca Indexing jobs getting triggered automatically just after BCC post deployment. IndexingDeploymentListners helps trigger indexing and part of /atg/epub/DeploymentServer component.

    Enable Automatic Indexing 

    Add IndexingDeploymentListner component to the list of listeners on /atg/epub/DeploymentServer Component. Bydefault,  IndexingDeploymentListner is included.



    Disable Automatic Indexing


    Remove IndexingDeploymentListner component to the list of listeners on /atg/epub/DeploymentServer Component. 




    From Author

    Was this post resolve the solution you are looking for? what do you think about this solution?Provide your comments

    Thursday, March 2, 2017

    ATG Endeca Integration : Interview Questions and Answers- Part2

    ATG Endeca Integrations - Interview Questions - Part-2 1. What are basic components used to Integrate ATG and Endeca? 2. What are Acces... thumbnail 1 summary

  • ATG Endeca Integrations - Interview Questions - Part-2

    1. What are basic components used to Integrate ATG and Endeca?
    2. What are Accessors and how it helps in indexing? 
    3. Can Baseline/Partial Indexing triggered from ATG?
    4. Can attribute to make it as searchable from product-sku-output-config.xml?
    5. How to create a hierarchical dimension?
    6. What is CategoryTreeService and how it works?
    7. Why do we need Category Tree service?
    8. How to Add properties to Dimensions?
    9. Why CRS has extended RefinementMenuHandler that Endeca implementation can not support it?
    10. How to change the search interface name?
    11. What are different types of Accessors?
    12. How to test indexing using a Product record using dyn/admin?
    13. How ATG interact with Endeca to get content from Endeca Experience Manager?
    14. is it possible to add multiple hierarchical dimensions?
    15. What is the use of CAS Record store during Indexing? Do we always need record store for indexing without ATG integrations?


    Reply Your Answers to Comment Section. This would help others to understand Endeca Basics. I will consolidate the reply and post the answers. Will post another set of Questions soon.


    Sunday, February 26, 2017

    Can Endeca Partial Indexing be performed after inventory or direct SQL update?

    Behaviour As per default behavior of ATG Endeca integration, Endeca Partial indexing does not update index with inventory update. ATG driv... thumbnail 1 summary
  • Behaviour
    As per default behavior of ATG Endeca integration, Endeca Partial indexing does not update index with inventory update. ATG driven partial index looks for IncrementalItemQueueRepository and this repository does not get updated during direct SQL update or inventory update.

    Solution
    Endeca Partial Indexing triggered from ATG layer look for srch_update_queue table to fetch the product/sku id to apply for partial update. 

    Write a job/code to insert the sku/product id to srch_update_queue table with proper status so partial process can pick it up. Invalidate the IncrementalItemQueueRepository cache and run the partial indexing from dyn/admin. This will identify the updated data and update back to Endeca MDEX engine.




    From Author

    Was this post resolve the solution you are looking for? what do you think about this solution?Provide your comments

    Thursday, February 23, 2017

    Oracle Endeca ITL and Expereince Manager High Availability Architecture

    What are High Availability and Failover   High availability  as the ability for the system to continue functioning after the failure of... thumbnail 1 summary
  • What are High Availability and Failover

    •  High availability as the ability for the system to continue functioning after the failure of one or more of the servers.
    • Failover as one possible implementation of high availability. Failover is defined as the ability for client connections to migrate from one server to another in the event of server failure so client applications can continue to operate.

    How to Setup ITL and XM Failover

    Two Information Transformation Layer (ITL) servers which host Tools and Framework required achieving high availability and another for Disaster recovery (DR) if required. 
    Only one ITL can be in active mode and remaining failover/backup should be passive mode . As per architecture, specific, in the diagram below, folders should be shared between primary and backup ITL servers using shared drive. DR generally hosted in the different data center so file system replication or other technique required for DR environment. The Shared drive can be setup during product and app installation.
    Following points needs to be taken care of during installation
    • Installation path should be same in all environments to avoid any conflicts and issues.
    • Endeca Application Initialize services script required to run from all the ITL servers for the first time.
    • Make sure to copy same Dgraph cluster XML with same naming convention to avoid duplicate Dgraph instance
    Find out block diagram below for HA understanding and setup

    What needs to be shared between active and passive ITL servers:-

    1.  Tools and Framework state folder
    2. Endeca application Data folder
    3. CAS workspace shared folder

    What happens if failover happens during mid-process 

    • Failover ITL would have to begin the process again if primary ITL Dgidx failed from Dgidx process.
    • Failover ITL would have to begin the entire process again if primary ITL forge failed.
    • Failover ITL would have to begin the entire process again if primary CAS indexing  failed.
    Note :  ATG properties need to be changed to redirect indexing to failover ITL in the event of primary ITL fault, but best practice would probably be to restart the indexing process again.
    For more Endeca related information visit:  http://www.ajayagrwal.com/

    Monday, January 2, 2017

    Endeca Basics : Interview Questions and Answers- Part1

    Endeca Basics - Interview Questions - Part-1 1. What is Endeca and why do you use Endeca instead of other search products? 2. What are ... thumbnail 1 summary

  • Endeca Basics - Interview Questions - Part-1

    1. What is Endeca and why do you use Endeca instead of other search products?
    2. What are dimensions and properties? 
    3. What is difference between single and multi dimension and how to create?
    4. Can same property used for dimension and properties if possible than how?
    5. What is Hierarchical Dimension and how can you create?
    6. How can you get complete hierarchy of hierarchical dimension using single query?
    7. What is Dimension search and is it different from Record search?
    8. Which Endeca query Parameters and value gives all Endeca Records from MDEX Engine?
    9. is it possible to get Record and Dimension search using single query?
    10. What are different Types of Endeca Query Available?
    11. is it possible to store some properties inside dimension and how? Where do you use this scenario?
    12. What are different types of Dimension available in Endeca?
    13. What is difference between Internal and External Dimension and where dimension values gets stored(File)?
    14. How to modify the Dimension ID?
    15. How to remove some Dimension value(not used) from Endeca Experience manager?


    Reply Your Answers to Comment Section. This would help others to understand Endeca Basics. I will consolidate the reply and post the answers. Will post another set of Questions soon.


    Text Widget