This discussion is archived
2 Replies Latest reply: Jan 29, 2013 11:09 PM by RohanDekate RSS

crs endeca integration error

977766 Newbie
Currently Being Moderated
Hi,

While iam running baseline index with atg-crs ,iam getting the following errors.

12:01:21,718 ERROR [ProductCatalogSimpleIndexingAdmin]
java.lang.RuntimeException: java.io.IOException: http://localhost:8500/ATGPuben_en_schema/?wsdl returned response code 404
at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:154)
at atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl.<init>(RecordStoreDocumentSubmitterSessionImpl.java:179)
at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:95)
at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:59)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForKey(AbstractRecordStoreAggregateSession.java:297)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForContext(AbstractRecordStoreAggregateSession.java:249)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForCurrentContext(AbstractRecordStoreAggregateSession.java:238)
at atg.endeca.index.AbstractRecordStoreAggregateSession.submitRecord(AbstractRecordStoreAggregateSession.java:334)
at atg.endeca.index.LocaledExporter.exportRecords(LocaledExporter.java:295)
at atg.endeca.index.LocaledExporter.export(LocaledExporter.java:258)
at atg.endeca.index.LocaledExporter.export(LocaledExporter.java:199)
at atg.endeca.index.LocaledExporter.performBaselineUpdate(LocaledExporter.java:345)
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: java.io.IOException: http://localhost:8500/ATGPuben_en_schema/?wsdl returned response code 404
at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:129)
at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:81)
at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:145)
... 15 more
12:01:21,999 ERROR [BulkLoader]
java.lang.RuntimeException: java.io.IOException: http://localhost:8500/ATGPuben_en_dimvals/?wsdl returned response code 404
at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:154)
at atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl.<init>(RecordStoreDocumentSubmitterSessionImpl.java:179)
at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:95)
at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:59)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForKey(AbstractRecordStoreAggregateSession.java:297)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForContext(AbstractRecordStoreAggregateSession.java:249)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForCurrentContext(AbstractRecordStoreAggregateSession.java:238)
at atg.endeca.index.AbstractRecordStoreAggregateSession.submitRecord(AbstractRecordStoreAggregateSession.java:334)
at atg.endeca.index.dimension.DimensionRootNodeSynchronization.outputRootNode(DimensionRootNodeSynchronization.java:158)
at atg.endeca.index.dimension.DimensionRootNodeSynchronization.afterSessionStart(DimensionRootNodeSynchronization.java:134)
at atg.repository.search.indexing.IndexingOutputConfig.afterSessionStart(IndexingOutputConfig.java:2992)
at atg.endeca.index.EndecaIndexingOutputConfig.afterSessionStart(EndecaIndexingOutputConfig.java:784)
at atg.repository.search.indexing.LoaderImpl.afterSessionStart(LoaderImpl.java:1973)
at atg.repository.search.indexing.BulkLoaderImpl.bulkLoad(BulkLoaderImpl.java:934)
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: java.io.IOException: http://localhost:8500/ATGPuben_en_dimvals/?wsdl returned response code 404
at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:129)
at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:81)
at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:145)
... 20 more
12:01:22,061 ERROR [CategoryToDimensionOutputConfig]
atg.repository.search.indexing.IndexingException: java.lang.RuntimeException: java.io.IOException: http://localhost:8500/ATGPuben_en_dimvals/?wsdl returned response code 404
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: java.lang.RuntimeException: java.io.IOException: http://localhost:8500/ATGPuben_en_dimvals/?wsdl returned response code 404
at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:154)
at atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl.<init>(RecordStoreDocumentSubmitterSessionImpl.java:179)
at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:95)
at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:59)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForKey(AbstractRecordStoreAggregateSession.java:297)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForContext(AbstractRecordStoreAggregateSession.java:249)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForCurrentContext(AbstractRecordStoreAggregateSession.java:238)
at atg.endeca.index.AbstractRecordStoreAggregateSession.submitRecord(AbstractRecordStoreAggregateSession.java:334)
at atg.endeca.index.dimension.DimensionRootNodeSynchronization.outputRootNode(DimensionRootNodeSynchronization.java:158)
at atg.endeca.index.dimension.DimensionRootNodeSynchronization.afterSessionStart(DimensionRootNodeSynchronization.java:134)
at atg.repository.search.indexing.IndexingOutputConfig.afterSessionStart(IndexingOutputConfig.java:2992)
at atg.endeca.index.EndecaIndexingOutputConfig.afterSessionStart(EndecaIndexingOutputConfig.java:784)
at atg.repository.search.indexing.LoaderImpl.afterSessionStart(LoaderImpl.java:1973)
at atg.repository.search.indexing.BulkLoaderImpl.bulkLoad(BulkLoaderImpl.java:934)
... 7 more
Caused by: java.io.IOException: http://localhost:8500/ATGPuben_en_dimvals/?wsdl returned response code 404
at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:129)
at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:81)
at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:145)

Iam running ATG 10.1.1,Jboss 5.1.0,jdk 1.6.0_31,endeca 3.1.0

can anyone resolve this issue.ThankYou!!!
  • 1. Re: crs endeca integration error
    Rahul Gupta - rahgup Newbie
    Currently Being Moderated
    Hi,

    1. Check CAS service is up and running
    2. Make sure you have following recordstore properly configured
         ATGPuben_en_schema
         ATGPuben_en_dimvals
         ATGPuben_en_prules
         ATGPuben_en_data
    if you yuo find the problem i would just Remove RecordStores and Recreate Endeca Application. Given below is bat script for removing recordstore. copy given below script and save it as clean_rs.bat and execute clean_rs ATGPuben en

    ----------------------------------
    @echo off

    setlocal

    rem call %~dp0..\config\script\set_environment.bat

    set RS_PREFIX=%1
    set RS_LANG=%2
    set CAS_ROOT=D:\installations\Endeca\CAS\3.0.2


    echo ==================================================

    echo Cleaning record stores:
    echo ===========
    echo Schema: %RS_PREFIX%_%RS_LANG%_schema
    call %CAS_ROOT%\bin\recordstore-cmd.bat clean -a %RS_PREFIX%_%RS_LANG%_schema
    echo ===========
    echo Dimvals: %RS_PREFIX%_%RS_LANG%_dimvals
    call %CAS_ROOT%\bin\recordstore-cmd.bat clean -a %RS_PREFIX%_%RS_LANG%_dimvals
    echo ===========
    echo Precedence Rules: %RS_PREFIX%_%RS_LANG%_prules
    call %CAS_ROOT%\bin\recordstore-cmd.bat clean -a %RS_PREFIX%_%RS_LANG%_prules
    echo ===========
    echo Data:%RS_PREFIX%_%RS_LANG%_data
    call %CAS_ROOT%\bin\recordstore-cmd.bat clean -a %RS_PREFIX%_%RS_LANG%_data
    echo ==================================================


    To remove app, execute given below command at the prompt
    <<App folder>>\<<app name>>\control\runcomman –remove-app

    if you get errors while re-creating app, please drop recordstore first. Give below are steps to drop record store.

    1. copy given below text
    -----------------------------------------------
    @echo off

    setlocal

    rem call %~dp0..\config\script\set_environment.bat

    set RS_PREFIX=%1
    set RS_LANG=%2
    set CAS_ROOT=D:\installations\Endeca\CAS\3.0.2

    echo ==================================================
    echo Dropping old record stores (errors will occur on non-existent rs):

    echo ===========
    echo Schema: %RS_PREFIX%_%RS_LANG%_schema
    call %CAS_ROOT%\bin\component-manager-cmd.bat delete-component -n %RS_PREFIX%_%RS_LANG%_schema

    echo ===========
    echo Dimvals: %RS_PREFIX%_%RS_LANG%_dimvals
    call %CAS_ROOT%\bin\component-manager-cmd.bat delete-component -n %RS_PREFIX%_%RS_LANG%_dimvals
    echo ===========
    echo Precedence Rules: %RS_PREFIX%_%RS_LANG%_prules
    call %CAS_ROOT%\bin\component-manager-cmd.bat delete-component -n %RS_PREFIX%_%RS_LANG%_prules
    echo ===========
    echo Data:%RS_PREFIX%_%RS_LANG%_data
    call %CAS_ROOT%\bin\component-manager-cmd.bat delete-component -n %RS_PREFIX%_%RS_LANG%_data
    echo ==================================================
    --------------------------------------

    2. save it as drop_rs.bat and make required changes like path etc

    3. execute drop_rs ATGPuben_en
  • 2. Re: crs endeca integration error
    RohanDekate Newbie
    Currently Being Moderated
    Hi,
    you made mistake in giving application name . While asking in CIM , what is the name of Endeca base Application , you had given ATGPuben . you should give ATGPub. Try it will work or else check following blog.
    http://atgendecaoasis.blogspot.com/2013/01/atg-commerce-reference-store-endeca.html

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points