After upgrading to Applications Manager(AM) 9.6 or 9.6.1, there are intermittent or consistent slowness Job status changes in the Backlog.
This includes, but not limited to, changes from Queued to Running, Finished to dropping into History, and time between the finishing of one component to the starting of another component in a Process Flow.
A review of the RmiServer logs during the time of issue show random slowness in the return times for the procedure aw_submit_chains. Example in bold below:
13:59:32.218 Timer-5: .DBAccess: getProcedureData(): sID-12649272 aw5.submit_chains elapsed ms 20
14:04:08.149 Timer-5: .DBAccess: getProcedureData(): sID-12649301 aw5.submit_chains elapsed ms 248149
14:06:05.879 Timer-5: .DBAccess: getProcedureData(): sID-12649301 aw5.submit_chains elapsed ms 117729
14:09:03.752 Timer-5: .DBAccess: getProcedureData(): sID-12649301 aw5.submit_chains elapsed ms 177873
14:09:50.658 Timer-5: .DBAccess: getProcedureData(): sID-12649300 aw5.submit_chains elapsed ms 46906
14:09:50.705 Timer-5: .DBAccess: getProcedureData(): sID-12649300 aw5.submit_chains elapsed ms 46
Applications Manager version 9.6, 9.6.1
For the first time, Applications Manager 9.6 and above moves from using Oracle dbms_pipes (in memory) to Oracle Advanced Queues (physical tables). While Oracle AQ is more robust and persistent than dbms_pipe, improvements to AM code is required to make the best use of the change from dbms_pipe to AQ.
Solution:
A fix will be included in Applications Manager version 9.6.2 and/or 9.7
Workaround for 9.6 and 9.6.1:
Fixes can be applied by running two sql scripts that are attached to this article, am_aq_aq_fix.sql and aw_operation_body_aq_fix.sql.
To revert changes: