During the initial dsindex -a index_all, on a newly installed DocuShare 3.1 server with migrated DocuShare 2.2 data, it is possible to get a timeout error on particularly large sites.
If you have a dsindex fails with the error "[main] ERROR com.xerox.docushare.cli.impl.DSIndex - Error: ReindexAllJob.run: caught Exception: com.xerox.docushare.DSException: ClassIndexJob.checkForTimeout: Timed out waiting for index job to finish.; nested exception is: com.xerox.docushare.DSException: ClassIndexJob.checkForTimeout: Timed out waiting for index job to finish."
Add the Timeout setting to the SearchServer.properties and set the value to 60 minutes.
The SearchServer.properties file is located in your DocuShare/config Directory.
If you have a dsindex fails with the error "[main] ERROR com.xerox.docushare.cli.impl.DSIndex - Error: ReindexAllJob.run: caught Exception: com.xerox.docushare.DSException: ClassIndexJob.checkForTimeout: Timed out waiting for index job to finish.; nested exception is: com.xerox.docushare.DSException: ClassIndexJob.checkForTimeout: Timed out waiting for index job to finish."
Add the Timeout setting to the SearchServer.properties and set the value to 60 minutes.
The SearchServer.properties file is located in your DocuShare/config Directory.
- Using a Text Editor, open the SearchServer.properties file and add the line timeout:60 to the end of the file.
- Save the file, then close the editor.
- Restart the DocuShare Service.
- Run the dsindex again after restarting the DocuShare service.