Support Article
Integrity constraint error when users login/log off
SA-7971
Summary
You have installed Pega 7.1.6 on Windows 2012/Tomcat 7/DB2 10.1. You receive error messages in the logs when a user logs in or off.
Error Messages
2015-03-24 11:17:12,473 [ttp-apr-9080-exec-24] [TABTHREAD1] [ ] [ PegaRULES:07.10] (he.appcentric.AppEntryBaseImpl) INFO localhost|127.0.0.1 [email protected] - Database-Saver-Insertfail during operation: save entry for RULE-OBJ-HTML|@BASECLASS!PZDESTROYCHANGETRACKER;STREAM|PegaRULES!07.10$b7f6c81c8977b824e61b3c84624624cc, com.pega.pegarules.pub.database.IntegrityConstraintViolationException: Database-Saver-Insertfail
From: (H9C71B732B4995B163E6022C7249EAA7B:127.0.0.1)
SQL: insert into RULES.pr_sys_appcache_entry
Steps to Reproduce
This error message occurs when users log in / off of the system
Root Cause
The root cause of this problem is misconfiguration in the PRPC operating environment. DB2 environments using JDBC 4.x drivers require custom setup.
Resolution
This issue is resolved through the following local change: For a database with DB2 Version 4, you must set the custom connection property useJDBC4ColumnNameAndLabelSemantics to "false". Please see our product installation manuals for further details.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.