OBFS Framwork: ORA-04098: trigger 'TRPAF_RULE_UPD' is invalid
Installation of OBFS 7.1.2 on Pega 7.1.8 environment fails.
Problem #1, SQLState 42000, Error code 4098: java.sql.BatchUpdateException: ORA-04098: trigger 'PRPC718.TRPAF_RULE_UPD' is invalid and failed re-validation
Steps to Reproduce
Install OBFS 7.1.2 on Pega7.1.8 environment.
The root cause of this problem is defect/misconfiguration in the operating environment. From the release notes of Pega 7.1.8, the following is observed.
Startup check removes custom DB triggers<https://pdn.pega.com/release-notes>
The process for performing updates to the pr_sys_updatescache and pr4_rule_vw tables has been restructured to increase system processing efficiency. In previous releases, database (DB) triggers were used to perform updates to these tables. These updates are now performed directly within the Pega 7 engine and the DB triggers have been eliminated.
Accordingly, Pega 7 now checks at startup, for any user-created triggers that are added after installation. If any triggers of this type are found, they are automatically removed.
This issue is resolved by making the following change to the operating environment:
Drop the obsolete triggers that these scripts added and then restart the engine.
Published August 28, 2015 - Updated October 8, 2020
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.