Inspect and fix the issue of javax.jms.IllegalStateException that cause the failure of adding items for SOLR index.
See @rstanonik's comment on slack dams channel:
I see the following errors in the lib-hydratail-staging tomcat log
Server: Apache-Coyote/1.1; Content-Type: application/json; Content-Length: 292; Date: Tue, 10 Jul 2018 14:58:07 GMT; Connection: close; {"request":"\/objects\/bd8723769x\/index","queueSuccess":1,"message":"Indexing failures.","priority":"4","queueTotal":1,"errors":["Error sending object to queue: javax.jms.IllegalStateException: The Session is closed"],"statusCode":500,"timestamp":"2018-07-10T07:58:07-0700","status":"ERROR"}
2018-07-10 07:58:07,259 INFO edu.ucsd.library.xdre.utils.DAMSClient: POST https://lib-hydratail-staging.ucsd.edu:8443/dams/api/objects/bd8723769x/index?format=json&ts=dams&priority=4&user=lsitu&client=Custom+2.64-0-g7a43f64d2d2bb36c58e3f5e7ec4fd9b37094a5d7: ERROR status code 500. Error Indexing failures.
java.io.IOException: POST https://lib-hydratail-staging.ucsd.edu:8443/dams/api/objects/bd8723769x/index?format=json&ts=dams&priority=4&user=lsitu&client=Custom+2.64-0-g7a43f64d2d2bb36c58e3f5e7ec4fd9b37094a5d7: ERROR status code 500. Error Indexing failures.
2018-07-10 07:58:07,259 ERROR edu.ucsd.library.xdre.collection.CollectionHandler: SOLR update failed for bd8723769x: POST https://lib-hydratail-staging.ucsd.edu:8443/dams/api/objects/bd8723769x/index?format=json&ts=dams&priority=4&user=lsitu&client=Custom+2.64-0-g7a43f64d2d2bb36c58e3f5e7ec4fd9b37094a5d7: ERROR status code 500. Error Indexing failures.
Rationale
This happened several times in the past when damsmanager requested SOLR, which caused solr not being updated for the objects ingested or edited.
Descriptive summary
Inspect and fix the issue of javax.jms.IllegalStateException that cause the failure of adding items for SOLR index. See @rstanonik's comment on slack dams channel:
Rationale
This happened several times in the past when damsmanager requested SOLR, which caused solr not being updated for the objects ingested or edited.