If an event or doc in the DATALOGQ JMS queue fails three attempts to log to the database, it is inserted into the DATALOGERRORQ JMS queue to allow for later reprocessing when the problem has been resolved.
To reprocess these failed events and documents, use the manual utility reprocessDbLoggingErrors.sh. This utility dequeues all the events and docs from DATALOGERRORQ and re-queues them into DATALOGQ, so the normal DocumentLogReceiver will log them to the database again.
The utility stops after it processes all the existing events and documents in DATALOGERRORQ. Any events and document that fails to log ends up in DATALOGERRORQ again; however, this time, the utility ensures that the event or document is reprocessed only once (that is, the utility does not enter an endless loop with failing events and documents).
To run the reprocessDbLoggingErrors.sh utility:
REPROCESSOR_HOME=Document Manager installation root JAVA_HOME=$REPROCESSOR_HOME/java LOG_REPROCESSOR_CLASSES=$REPROCESSOR_HOME/classes
./reprocessDbLoggingErrors.sh