Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

Integration & Security5 min read

Oracle SOA Suite composite troubleshooting runbook: stuck instances, faults, logs and fix order

What to check first when composites fail or hang

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: API Management & Integration
On this page
  1. Stuck instances
  2. Faults
  3. Fault policies
  4. Logs
  5. Fix order
  6. A worked example, for illustration
  7. Prevent the repeats
  8. When the pattern means more
  9. Working with us

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.

SymptomLikely causeFirst check
---------
Instance in running state for hoursWaiting on a callback or a timerThe component the trace shows as active
Many instances pendingEngine backlog, thread or connection limitsServer and database health
Instance waiting on human taskTask not assigned or not completedWorkflow task list and assignees
Calls to one back end time outDownstream slow or downBack-end health; adapter timeout
Console very slowLarge instance tablesPurge 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:

  1. Is a policy bound to this composite, and is it the one you expect?
  2. Does the retry count and interval match the back end's behaviour? Ten fast retries against a down service only add load.
  3. Do business faults and system faults go to different actions?
  4. Where do unhandled faults end? A fault that ends in nowhere is the worst kind.
  5. 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:

  1. Instance trace in the console, to find the component and time.
  2. Diagnostic log of the managed server for that time, searching on the composite name and instance id.
  3. Server output for stack traces, memory errors and stuck thread warnings.
  4. Database logs and wait information if instance data access is slow.
  5. 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

  1. Contain. Pause the source if faults are spreading, and tell the business which flows are affected.
  2. Find the first failure. The earliest fault in the time window, not the loudest.
  3. Check infrastructure. Servers, thread pools, database connections and disk space.
  4. Fix the cause. Back end, mapping, certificate, credential or data.
  5. Retry a sample. Then retry the rest in batches, with someone watching.
  6. Fix the policy. So the next occurrence is handled without a person.
  7. 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.

Related: Oracle SOA Suite vs MuleSoft · Oracle Integration Cloud pricing

Frequently asked questions

Why are instances stuck in Oracle SOA Suite?

Common causes are a recoverable fault waiting for action, a downstream system that is down or slow, a blocked thread or database connection pool, and a backlog in the engine. Start with the instance's fault and the server state.

What does a fault policy do?

A fault policy tells SOA Suite what to do when a fault occurs, for example retry, rethrow, mark for human intervention or end. You bind policies to composites or components through configuration files.

Where do I read errors?

In the Enterprise Manager flow instance trace, in the SOA managed server log and diagnostic log, and in the server output. Start with the instance trace to find the faulting component, then read the log for the time.

Should we purge old instances?

Yes, on a schedule your retention rules allow. Large amounts of old instance data in the database slow the console and the engine. Plan purges with your DBA.

Can this runbook replace Oracle documentation?

No. Use it as an order of work, and confirm each step against the documentation for your release.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote