0 Replies Latest reply: Jan 16, 2013 3:49 AM by Rohan Dekate RSS

    BaseLine Index Error

    Rohan Dekate
      Hi All,
      Iam new to Endeca. my question might be silly so please forgive me for that .

      Iam using ATG 10.1.1
      I have configure CRS with Endeca.
      When Iam running ProductCatalogSimpleIndexingAdmin baseline Index, CommerceTreeService,SchemaExporter and RepositoryTypeDimensionExporter , these components status is succeded while ProductCatalogOutputConfig and CategoryToDimensionOutputConfig      failed .

      THis is the error log.

      1+9:44:37,459 INFO [SchemaDocumentSubmitter] Will atempt to contact record store "ATGen_en_schema" on host "localhost" on port 8,500+
      +19:44:37,459 INFO [DimensionDocumentSubmitter] Will atempt to contact record store "ATGen_en_dimvals" on host "localhost" on port 8,500+
      +19:44:44,903 INFO [ProductCatalogOutputConfig] Starting bulk load+
      +19:44:47,846 ERROR [BulkLoader]+
      +atg.repository.search.indexing.IndexingException: Error sending record atg.endeca.index.record.Record@4a4bc5bf{dimval.spec=[rootCategory.cat10016.cat10014.catFloorLamps], dimval.qualified_spec=[product.category:rootCategory.cat10016.cat10014.catFloorLamps], dimval.prop.category.siteId=[storeSiteUS, homeSite], dimval.prop.category.rootCatalogId=[masterCatalog], dimval.prop.category.ancestorCatalogIds=[masterCatalog], dimval.dimension_spec=[product.category], dimval.parent_spec=[rootCategory.cat10016.cat10014], dimval.display_order=[1], dimval.prop.category.repositoryId=[catFloorLamps], dimval.prop.category.catalogs.repositoryId=[masterCatalog, homeStoreCatalog], dimval.display_name=[Floor Lamps]} to record store "ATGen_en_dimvals", Root cause: Input record does not have a valid Id.+
      at atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl.submitRecord(RecordStoreDocumentSubmitterSessionImpl.java:313)
      at atg.endeca.index.RecordSubmitterSessionImpl.submitDocument(RecordSubmitterSessionImpl.java:187)
      at atg.endeca.index.AbstractRecordStoreAggregateSession.submitDocument(AbstractRecordStoreAggregateSession.java:329)
      at atg.repository.search.indexing.LoaderImpl.outputAndSubmitDocument(LoaderImpl.java:1132)
      at atg.endeca.index.RecordStoreBulkLoaderImpl.outputAndSubmitDocument(RecordStoreBulkLoaderImpl.java:142)
      at atg.repository.search.indexing.LoaderImpl.processItem(LoaderImpl.java:799)
      at atg.repository.search.indexing.threading.ProcessItemJob.invoke(ProcessItemJob.java:145)
      at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherThread.java:178)
      Caused by: com.endeca.itl.recordstore.InvalidRecordException: Input record does not have a valid Id.
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:141)
      at $Proxy161.writeRecords(Unknown Source)
      at com.endeca.itl.recordstore.RecordStoreWriter.doFlush(RecordStoreWriter.java:170)
      at com.endeca.itl.recordstore.RecordStoreWriter.write(RecordStoreWriter.java:108)
      at atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl.submitRecord(RecordStoreDocumentSubmitterSessionImpl.java:308)
      +... 7 more+
      +19:44:47,865 INFO [BulkLoader] Processed 55 items for /atg/endeca/index/commerce/CategoryToDimensionOutputConfig in 2.871 seconds. Averaged 19.157088122605366 items including sub-items per second+
      +19:44:47,896 INFO [CategoryToDimensionOutputConfig] Bulk load completed with "true" result in 21,561 milliseconds.+
      +19:45:04,911 INFO [ReflectionServiceFactoryBean] Creating Service {http://recordstore.itl.endeca.com/}RecordStoreService from class com.endeca.itl.recordstore.RecordStore+
      +19:45:05,423 INFO [DataDocumentSubmitter] Will atempt to contact record store "ATGen_en_data" on host "localhost" on port 8,500+
      +19:45:09,810 ERROR [BulkLoader]+
      +atg.repository.search.indexing.IndexingException: Error sending record atg.endeca.index.record.Record@2edaf5f7{product.startDate=[0], product.creationDate=[1196671452], product.repositoryId=[xprod1002], product.endDate=[0], product.keywords=[soft, everyday, perfect, made, wide, activities, 2', leather, belt, 1], product.description=[Leather everyday belt], product.longDescription=[Made of soft leather, this belt is the perfect belt for everyday activities. 1.5" wide. ], product.displayName=[Everyday Belt], record.spec=[clothing-sku-xsku1009..xprod1002.masterCatalog.en__US], product.url=[atgrep:/ProductCatalog/clothing-sku/xsku1009?_product=xprod1002&catalog=masterCatalog&locale=en_US], product.type=[product], product.baseUrl=[atgrep:/ProductCatalog/clothing-sku/xsku1009], product.siteId=[storeSiteUS], product.disallowAsRecommendation=[0], product.nonreturnable=[0], product.dateAvailable=[1196671452], product.daysAva+
      +ct.repositoryName=[ProductCatalog], product.parentCategory.id=[rootCategory.cat50056.cat50067], product.catalogs.repositoryId=[masterCatalog], product.features.repositoryId=[leather], product.features.displayName=[Leather], sku.type=[clothing-sku, clothing-sku], sku.onSaleText=[0], sku.repositoryId=[xsku1009], sku.creationDate=[1196671467], sku.displayName=[Everyday Belt], sku.baseUrl=[atgrep:/ProductCatalog/clothing-sku/xsku1009], sku.siteId=[storeSiteUS], clothing-sku.color=[Brown], clothing-sku.size=[34], sku.url=[atgrep:/ProductCatalog/clothing-sku/xsku1009?_product=xprod1002&catalog=masterCatalog&locale=en_US], sku.price_listPrices=[24.0]} to record store "ATGen_en_data", Root cause: Input record does not have a valid Id.+
      at atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl.submitRecord(RecordStoreDocumentSubmitterSessionImpl.java:313)
      at atg.endeca.index.RecordSubmitterSessionImpl.submitDocument(RecordSubmitterSessionImpl.java:187)
      at atg.endeca.index.AbstractRecordStoreAggregateSession.submitDocument(AbstractRecordStoreAggregateSession.java:329)
      at atg.repository.search.indexing.LoaderImpl.outputAndSubmitDocument(LoaderImpl.java:1132)
      at atg.endeca.index.RecordStoreBulkLoaderImpl.outputAndSubmitDocument(RecordStoreBulkLoaderImpl.java:142)
      at atg.repository.search.indexing.LoaderImpl.processItem(LoaderImpl.java:799)
      at atg.repository.search.indexing.LoaderImpl.processItem(LoaderImpl.java:725)
      at atg.repository.search.indexing.threading.ProcessItemJob.invoke(ProcessItemJob.java:145)
      at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherThread.java:178)
      Caused by: com.endeca.itl.recordstore.InvalidRecordException: Input record does not have a valid Id.
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:141)
      at $Proxy161.writeRecords(Unknown Source)
      at com.endeca.itl.recordstore.RecordStoreWriter.doFlush(RecordStoreWriter.java:170)
      at com.endeca.itl.recordstore.RecordStoreWriter.write(RecordStoreWriter.java:108)
      at atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl.submitRecord(RecordStoreDocumentSubmitterSessionImpl.java:308)
      +... 8 more+
      +19:45:09,860 ERROR [BulkLoader]+
      atg.repository.search.indexing.IndexingException: Session should not be committed, most likely because too many errors (1) occurred, canceling
      at atg.repository.search.indexing.LoaderImpl.processItem(LoaderImpl.java:879)
      at atg.repository.search.indexing.LoaderImpl.processItem(LoaderImpl.java:725)
      at atg.repository.search.indexing.threading.ProcessItemJob.invoke(ProcessItemJob.java:145)
      at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherThread.java:178)
      +19:45:10,104 ERROR [ProductCatalogOutputConfig]+
      atg.repository.search.indexing.IndexingException: atg.repository.search.indexing.IndexingException: Session should not be committed, most likely because too many errors (1) occurred, canceling
      at atg.repository.search.indexing.BulkLoaderImpl.bulkLoad(BulkLoaderImpl.java:1040)
      at atg.repository.search.indexing.IndexingOutputConfig.bulkLoad(IndexingOutputConfig.java:1610)
      at atg.repository.search.indexing.IndexingOutputConfig.bulkLoadForDiagnostics(IndexingOutputConfig.java:1554)
      at atg.endeca.index.EndecaIndexingOutputConfig.performBaselineUpdate(EndecaIndexingOutputConfig.java:703)
      at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:401)
      at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.java:359)
      at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(IndexingPhase.java:469)
      at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherThread.java:178)
      Caused by: atg.repository.search.indexing.IndexingException: Session should not be committed, most likely because too many errors (1) occurred, canceling
      at atg.repository.search.indexing.LoaderImpl.processItem(LoaderImpl.java:879)
      at atg.repository.search.indexing.LoaderImpl.processItem(LoaderImpl.java:725)
      at atg.repository.search.indexing.threading.ProcessItemJob.invoke(ProcessItemJob.java:145)
      +... 1 more+



      Thanks for reading
      Can Anyone tell me where Iam Committing mistake .

      Also if anyone can answer these questions ,
      1. Like in wine application we explicitly create one Endeca application but where in CRS we create such Application .
      2. When I open CategoryToDimensionOutputConfig.properties , I found that bulkLoader is referring to the bulkLoader of ProductCatalogOutputConfig.properties , but when i opened ProductCatalogOutputConfig.properties , I didnt found any bulkloader.
      Can Anyone answer my query,
      Thanks in Advance
      Rohan Dekate