Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

OBFS Framwork: ORA-04098: trigger 'TRPAF_RULE_UPD' is invalid

SA-13397

Summary



Installation of OBFS 7.1.2 on Pega 7.1.8 environment fails.


Error Messages



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.


Root Cause



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.


Resolution



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.

TRAF_RULE_UPD.sql

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.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us