When a SOA Suite composite fails or hangs, work in this order: find the faulting instance and component in the Enterprise Manager trace, check whether the fault is recoverable, check the servers and database connections, read the logs for the same time, then fix the fault policy or the cause. Do not restart servers first. Restarts hide the evidence.
This runbook is a practical order of work, written from general Oracle SOA Suite practice. Console names, log file names and settings differ by release and domain layout, so confirm each against Oracle's SOA Suite documentation for your release.
Stuck instances
An instance is stuck when it is running but not moving, or waiting without cause.
| Symptom | Likely cause | First check |
|---|---|---|
| --- | --- | --- |
| Instance in running state for hours | Waiting on a callback or a timer | The component the trace shows as active |
| Many instances pending | Engine backlog, thread or connection limits | Server and database health |
| Instance waiting on human task | Task not assigned or not completed | Workflow task list and assignees |
| Calls to one back end time out | Downstream slow or down | Back-end health; adapter timeout |
| Console very slow | Large instance tables | Purge history and database stats |
Open the flow instance trace for the example. It shows the path through the composite, and the last step that completed. That step, and the next one, is where to look.
Faults
Faults come in two kinds, and the difference decides what you do.
- Recoverable faults. The instance waits, and you can retry, abort or continue from the console, after you fix the cause. These are common with a back end that was briefly down.
- Non-recoverable faults. The instance has ended in error. You need to re-submit the message from the source, or correct the data and start again.
Before you retry in bulk, read a sample. Retrying a thousand faults with a bad message, or against a down system, makes a larger mess.
Fault policies
Fault policies set what happens before a human sees the fault. They are defined in configuration files and bound to composites. Typical actions are retry with a delay, rethrow to the caller, route to human intervention, and end.
Check these points:
- Is a policy bound to this composite, and is it the one you expect?
- Does the retry count and interval match the back end's behaviour? Ten fast retries against a down service only add load.
- Do business faults and system faults go to different actions?
- Where do unhandled faults end? A fault that ends in nowhere is the worst kind.
- Is the policy file deployed with the composite, or is it a hand-edited copy on a server?
Record the policy design in version control. A policy that only exists on one server is a risk.
Logs
Read logs in this order:
- Instance trace in the console, to find the component and time.
- Diagnostic log of the managed server for that time, searching on the composite name and instance id.
- Server output for stack traces, memory errors and stuck thread warnings.
- Database logs and wait information if instance data access is slow.
- Back-end logs, if the fault names an external system.
Raise the logging level for one composite at a time and for a short period. High levels on a busy server fill disks and slow the engine.
Fix order
- Contain. Pause the source if faults are spreading, and tell the business which flows are affected.
- Find the first failure. The earliest fault in the time window, not the loudest.
- Check infrastructure. Servers, thread pools, database connections and disk space.
- Fix the cause. Back end, mapping, certificate, credential or data.
- Retry a sample. Then retry the rest in batches, with someone watching.
- Fix the policy. So the next occurrence is handled without a person.
- Write it down. Cause, fix, time to recover and a prevention step.
A worked example, for illustration
A composite that books a payment starts failing at 09:15 with timeouts to the payment system. The trace shows the invoke step as the last activity. The instances are recoverable. You check the payment system and find it recovered at 09:40. You retry a sample of five, confirm that they complete, then retry the rest in batches of a few hundred. Afterwards, you see that the fault policy retried ten times in a minute, which added load to a struggling system. You change it to three retries with growing delays and route the rest to human intervention. The fix, the policy change and the time to recover go in the log. This is an illustration, not a client case.
Prevent the repeats
- Schedule purges of completed instances, within your retention rules.
- Alert on instance backlog and fault counts per composite.
- Test fault paths in the build, not only the happy path.
- Keep a list of composites by owner and criticality.
- Review recurring faults monthly and fix the top three causes.
When the pattern means more
If the same composites fail often, or only one engineer can fix them, that is a signal for the modernization options conversation. If you are about to upgrade, read the 12c to 14c upgrade path first.
Working with us
Duczer East reviews fault policies, purge setup, logging and monitoring for SOA Suite, and writes the runbook for your environment. See Oracle SOA Suite consulting and the modernization assessment example.



