When running a bpel processes, you can sometimes end up with a fault state.
Later on, from “unknown reason” you see the faulted process being initiate again, and being run from the beginning.
The reason for that is a mechanism within the Bpel PM that allows ‘Auto Recovery’ for those faulted instances.
This option is by default enabled on the EM.
To stop the automatic recovery:
Go to EM-> Right click on soa-infra -> SOA Administartion -> BPEL Properties ->Click on More Advanced BPEL Properties -> Click on recoveryConfig
Change the value maxMessageRaiseSize to 0 & the start and end times to 00:00
(You might need to restart the server)
Good Luck
Contact Arik Lalo to get an OFFER on Oracle Products
How can we stop BPEL retry without modifing EM level configuration,
I mean is there a way to stop retrying by configuring something in BPEL process or in composite.xml
Sujan,
You can always abort a certain instance from the instances list (under your process in the EM). That way for sure no instance will be run again.
If you want in advanced to configure your process to NOT take part in the Automatic Recovery, then you have to build your process accordingly.
For example use more specific fault handling, or configure activities as Non idempotent(idempotent property set to False). You can also configure
the idempotent activities in the partnerlink level: false. That will prevent retries.
Arik
Hi
Kindly, let me know how we can set a count for auto recovery of say 30 or 40 or 50 instances which are in running state in SOA BPEL
Say, for example i dont want to put pressure on my server and dont want to recover all the running instances at a shot, and give a definite number.
Let me know how to achieve it.This is urgent
Arya. India. Software Engineer
Hi,
You want to do it manually or by a code ?
Arik