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.


    Text Widget