Troubleshooting
Problem
java.sql.sqlexception: ORA-20999: 20002 LG_eventi_ah1-1 ORA-00001: unique constraints (BCGAPPS.PK_event) violated
Symptom
java.sql.sqlexception:
ORA-20999: 20002 LG_eventi_ah1-1
ORA-00001: unique constraints (BCGAPPS.PK_event) violated
Cause
The SQL errors occur when the same events are attempted to be updated again into DB. After certain number of attempts, finally these events are moved into the DataLogErrorq. Once the event is logged into the database, the event should be removed from the MQ queue. Looks like here, even though the event is logged into the database, it's not removed from the queue and as a result, its attempted to be updated again.
Resolving The Problem
Follow these steps to resolve the problem:
- Stop the servers
- Clear the datalogErrorQ and the datalogQ
- Clear router logs
- Restart the servers
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21307552