Post upgrade none of the agents are working and our system is a single node environment. Tried to clear all the cache tables but nothing works.Followed the below process but nothing works. Can any one please suggest any better way if that's proved to be working.
Since PRPC specific ear files needs special handling when Jboss is concerned, the HornetQ needs to be enabled in Jboss as all batch processes (including all OOTB agents - APIs like queueBatchActivity - SOAP invoke with parallel mode etc) are handled by MDB PRAsync which uses the built-in HornetQ for topic communication. Following pdn article can be referenced for more information on this: https://collaborate.pega.com/question/why-prpc-needs-hornetq-enabled-jboss-deployment
After enabling the HornetQ in Jboss server and deleting al the stale agent schedule instances from pr_Data, the agent schedule got created automatically and the issue was resolved in both dev and test environments.