3 Replies Latest reply: Jun 24, 2013 5:05 PM by Ravi Honakamble| RSS

    Atg10.1.2 -Endeca 3.1.1 Integration Errors

    977766
      Hi,

      Iam using Atg10.1.2 and Endeca 3.1.1.I have succesfully created the Endeca App named "CRS" with "E:\Endeca\ToolsAndFrameworks\3.1.1\reference\discover-data-catalog-integration" and created the Atg App using cim.bat(CommerceReferenceStore).I integrated succefully Atg with Endeca and i successfully indexed data and verified it by checking it in the endeca_jspref app.I created the test page using experience manager using pageslot ,onecolumnpage and searchbox cartridges and ran the promotecontent.
      When iam accessing the test page from my app server "http://localhost:8380/crs/test" it is not reflecting the page thati created in experience Manager.For debugging i enabled loggingDebug of all main components and the logs are .,
      ============================================================================
      00:08:04,091 ERROR [AssemblerTools] A problem occured assembling requested content. Response from the assembler was {enabled=true, @type=DimensionValueCacheRefresh, showCountsEnabled=false, relRankStrategy=exact, @error=com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://localhost:17000/search?terms=*&opts=rel%2bexact&node=0&rank=1&offset=0&groupby=product.repositoryId&refinement=showcounts:0&refinement=numresults:50000&irversion=640'., maxResults=50000, maxResultsPerDimension=50000}
      00:08:04,092 ERROR [DimensionValueCacheTools] Could not retrieve a cache for default. This may indicate communication problems with the MDEX
      00:12:02,781 WARN [DeleteMissingIndexingSynchronization] Failed to find indexing task. Enable loggingDebug for stack trace.
      00:12:02,781 WARN [DeleteMissingIndexingSynchronization] Failed to find enclosing IndexingTask.
      01:00:04,101 INFO [ComponentIndex] Creating component index E:\Training\ATG\ATG10.1.2\home\servers\atg_prod_10.1.2\data\componentIndex.ser
      01:01:14,410 INFO [ComponentIndex] Saving component index E:\Training\ATG\ATG10.1.2\home\servers\atg_prod_10.1.2\data\componentIndex.ser
      01:01:14,551 INFO [ComponentIndex] Component indexing complete.
      01:01:14,552 INFO [DocumentIndex] Building document index E:\Training\ATG\ATG10.1.2\home\servers\atg_prod_10.1.2\data\documentIndex.ser
      01:01:14,793 INFO [DocumentIndex] Saving document index E:\Training\ATG\ATG10.1.2\home\servers\atg_prod_10.1.2\data\documentIndex.ser
      01:01:14,819 INFO [DocumentIndex] Document indexing complete.
      01:12:25,667 INFO [AssemblerPipelineServlet] DEBUG Allowed mime type null for assembly of URI /crs/test
      01:12:25,667 INFO [AssemblerTools] DEBUG Assembling content for {contentUri=/pages/test, @type=ContentInclude}
      01:12:25,690 INFO [NucleusAssemblerFactory] DEBUG Returning handler from defaultHandlerPath: /atg/endeca/assembler/cartridge/handler/ContentInclude
      01:12:25,747 INFO [AssemblerTools] DEBUG Record filters: [product.priceListPair:salePrices_listPrices, OR(product.siteId:storeSiteUS)]
      01:12:25,747 INFO [AssemblerTools] DEBUG FilterState.securityFilter:
      01:12:25,783 INFO [AssemblerTools] DEBUG NavigationState: ?Nr=AND%28product.priceListPair%3AsalePrices_listPrices%2COR%28product.siteId%3AstoreSiteUS%29%29
      01:12:25,787 INFO [NucleusAssemblerFactory] DEBUG Returning /atg/endeca/assembler/cartridge/handler/ContentSlot from handlerMapping for cartridge type PageSlot
      01:12:25,788 INFO [AssemblerTools] DEBUG UserState segments: [sitegroup.siteGroupUS, site.storeSiteUS]
      01:12:25,804 INFO [NucleusAssemblerFactory] DEBUG No handler found for cartridge type OneColumnPage
      01:12:25,809 INFO [NucleusAssemblerFactory] DEBUG No handler found for cartridge type SearchBox
      01:12:25,809 INFO [AssemblerTools] DEBUG Assembled content {@type=PageSlot, name=Static Page Slot, contentCollection=/content/PageCollection, ruleLimit=1, endeca:siteRootPath=/pages, endeca:contentPath=/test, contents=[{@type=OneColumnPage, name=One Column Page, title=Discover Electronics, metaKeywords=camera cameras electronics, metaDescription=Endeca eBusiness reference application., headerContent=[{@type=SearchBox, name=Search Box, contentCollection=, minAutoSuggestInputLength=1, ruleLimit=1}], mainContent=[]}]}
      01:12:25,810 INFO [AssemblerPipelineServlet] DEBUG Site base URL found, initializing dispatcher with path: /storeus/cartridges/PageSlot/PageSlot.jsp
      01:12:25,834 INFO [AssemblerTools] DEBUG Assembling content for {@type=ContentSlot, ruleLimit=1, contentCollection=/content/Shared/Global Search Configuration/Search Box}
      01:12:25,837 INFO [NucleusAssemblerFactory] DEBUG Returning handler from defaultHandlerPath: /atg/endeca/assembler/cartridge/handler/ContentSlot
      01:12:25,837 INFO [AssemblerTools] DEBUG Assembled content {contents=[], @type=ContentSlot, ruleLimit=1, contentCollection=/content/Shared/Global Search Configuration/Search Box}
      01:12:26,276 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type text/css is not allowed for assembly
      01:12:26,277 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type text/css is not allowed for assembly
      01:12:26,277 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type text/css is not allowed for assembly
      01:12:26,295 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus//css/site/store.css
      01:12:26,296 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/css/grid.css
      01:12:26,297 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/css/base.css
      01:12:26,330 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,331 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/RichCartTrigger.js
      01:12:26,331 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,331 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/RichCartSummary.js
      01:12:26,332 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,332 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,332 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/richCartMessage.js
      01:12:26,332 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/RichCartSummaryItem.js
      01:12:26,340 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,340 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/FacetManager.js
      01:12:26,342 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,342 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/enterSubmit.js
      01:12:26,343 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,343 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/FacetValue.js
      01:12:26,344 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,345 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/FacetGroup.js
      01:12:26,352 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,353 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/ProductView.js
      01:12:26,354 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,354 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/picker.js
      01:12:26,356 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,357 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/Lightbox.js
      01:12:26,361 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,361 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type application/x-javascript is not allowed for assembly
      01:12:26,361 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/dialog.js
      01:12:26,362 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/store.js
      01:12:26,366 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type text/css is not allowed for assembly
      01:12:26,366 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/css/javascript.css
      01:12:26,494 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type text/html is not allowed for assembly
      01:12:26,494 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/javascript/widget/template/richCartMessage.html
      01:12:26,555 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request because mime type text/css is not allowed for assembly
      01:12:26,555 INFO [AssemblerPipelineServlet] DEBUG Ignoring (passing on) request for /crs/storeus/css/common_print.css

      Please can anybody solve this issue,ThankYou!!!!
        • 1. Re: Atg10.1.2 -Endeca 3.1.1 Integration Errors
          985121
          If you access MDEX directly with this URL (replace locahost with MDEX host/IP):

          http://localhost:17000/search?terms=*&opts=rel%2bexact&node=0&rank=1&offset=0&groupby=product.repositoryId&refinement=showcounts:0&refinement=numresults:50000&irversion=640

          and then start replacing attributes like product.repository with attributes you see in your endeca_jspref app, it should work. Most probably your application does not have product.repository attribute. These attribute names are part of endeca properties file, and you will have to change those.

          Regards,
          Naresh
          • 2. Re: Atg10.1.2 -Endeca 3.1.1 Integration Errors
            Karthik4bugs

            Add product.repositoryId to your Rollup File as below:

             

            in <ENDECA_APP>\config\pipeline folder edit the "<Your Endeca App Name>.rollups.xml" as below:

             

            <?xml version="1.0" encoding="UTF-8" standalone="no" ?>

            <!DOCTYPE ROLLUPS SYSTEM "rollups.dtd">

            <ROLLUPS>

             

             

              <ROLLUP NAME="product.repositoryId"/>

             

             

            </ROLLUPS>

             

            And run the baseline from your ATG dyn/admin.

            • 3. Re: Atg10.1.2 -Endeca 3.1.1 Integration Errors
              Ravi Honakamble|

              Hi,

               

              You will get above error due to rollup key defined in the OOTB CRS application but not in the endeca pipeline pushed. Search for DefaultFilterState.properties/FilterState.properties component in dyn/admin where you will see the property as below

               

              rollupKey = product.repositoryId

               

              Now question is, if you have requirements to use rollup key then create a layered DefaultFilterState.properties/FilterState.properties component in ATG project and overrirde the rollupKey property value to the appropriate rollup attribute enabled property defined in the Endeca pipeline.

              If you just want to by pass this error then create a layered FilterState.properties component in ATG project and override the rollupKey property value to empty

              Example: rollupKey=

               

              Hope this helps.

               

              Thanks,

              Ravi