EBS Responsibilities增加權限時出現ORA-04063:rule set APPLSYS.WF_JAVA_DEFERRED_R has errors

EBS 11i測試機在由HP-UX移至Solaris並且Database由9i upgrade到11g之後,
要增加使用者權限時出現了ORA-04063:rule set APPLSYS.WF_JAVA_DEFERRED_R has errors

查看相關的object,發現狀態是invalid,但是嘗試用Toad recompile時,出現無法編譯的錯誤


查詢Metalink之後,找到相關的解決方法:

Fixing Invalid Workflow Rule Sets such as WF_DEFERRED_R and Related Errors on Workflow Queues:ORA-24033(ID 337294.1)


下載script後,再執行指令就成功了。
SQL> connect  apps/XXXXX
SQL> @wf_fix.sql

script下載:
https://mega.co.nz/#!1AdlibIS!Pc-pvn8lzhGqnKHzgn4U1kAEJYaANXDG3cKAJBclbqk


Oracle Data Gurad Archive Gap