Problem Note 55697: The Search Interface to SAS® Content web application encounters an error when it feeds the content to the indexing server
When the Search Interface to SAS Content feeds content to the indexing server, a failure can occur, generating the following error:
com.sas.svcs.search.client.IndexServiceException: Encountered problem while Indexing content to IR Studio Indexing Server.
When this failure occurs, the following errors appear in the SASSearchService.log file, which resides in SAS-configuration-directory/Lev1/Web/Logs/SASServer12_1:
com.sas.svcs.search.dao.irstudio.IRStudioIndexDao - Exception encountered while preparing XML from extracted datajava.lang.NullPointerException
com.sas.svcs.search.dao.irstudio.IRStudioIndexDao - Some objects might have not been indexed due to malformed XML
com.sas.svcs.search.impl.SearchIndexServiceImpl - Failed to index the records with irstudio
com.sas.svcs.search.impl.SearchIndexServiceImpl - Encountered problem while Indexing content to IR Studio Indexing Server.
Some of the required fields are missing from the SAS® Information Retrieval Studio schema. Therefore, its content is not searchable. If a few fields are missing from the configuration of the indexing server for SAS Information Retrieval Studio, the content of those fields are neither indexed nor available in a response. In this scenario, it is important to ensure that the indexing server is reconfigured.
To reconfigure the schema, follow these steps:
- Stop the Search Interface to SAS Content web application, as follows, dependent on your operating environment:
UNIX operating environments: Submit the following command:
SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer12_1/bin>$ ./tcruntime-ctl.sh stop
Microsoft Windows operating environments: Stop the SASServer12_1 web application service.
- Stop the SAS Information Retrieval Studio server by submitting the following command:
Under UNIX: Submit the following command:
SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS>./IRStudio.sh stop
Under Windows: Stop the SAS Information Retrieval Studio service.
- Edit the pipeline-server.db file by replacing S'BIRD' with S'BIRD1'. The pipeline-server.db file is located in the following directories:
- Under UNIX: SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS/work/
- Under Windows: SAS-configuration-directory\Lev1\Applications\SASInformationRetrievalStudioforSAS\work\
- Delete ALL of the files in the index directory. The index directory resides in the following locations:
Under UNIX: SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS/work/index
Under Windows: SAS-configuration-directory\Lev1\Applications\SASInformationRetrievalStudioforSAS\work\index
- Restart the SAS Information Retrieval Studio server, as follows:
Under UNIX: Submit the following command:
SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS>./IRStudio.sh start
Under Windows: Start the SAS Information Retrieval Studio service.
- Start the Search Interface to SAS Content web application, as follows:
Under UNIX: Submit the following command:
SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer12_1/bin>$ ./tcruntime-ctl.sh start
Under Windows: Start the SASServer12_1 web application service.
Operating System and Release Information
SAS System | Search Interface to SAS Content | Microsoft® Windows® for x64 | 3.4 | | 9.4 TS1M2 | |
Linux for x64 | 3.4 | | 9.4 TS1M2 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2015-06-23 11:56:44 |
Date Created: | 2015-05-01 12:08:08 |