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.

GuideIntegration & Security7 min read

WSO2 ESB Troubleshooting Runbook: Symptoms, Logs and Message Tracing

Start from what you see, not from the component.

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: API Management & Integration
On this page
  1. Common faults by symptom
  2. Log locations
  3. Message flow tracing
  4. When to escalate
  5. A first-ten-minutes routine
  6. Preventive checks

Troubleshoot a WSO2 ESB or Micro Integrator fault by starting from the symptom, finding one failing message, tracing it by correlation ID through the logs, and checking endpoints and backends before suspecting the product. The tables below list common symptoms, where to look and what usually causes them. Log names and paths vary by release, so confirm yours.

It supports our WSO2 Micro Integrator service. For vendor logging features, see the service-level, API-level and composite application-level logging pages.

Common faults by symptom

SymptomFirst checksUsual cause
Client gets timeoutsEndpoint timeout setting, backend response time, thread or connection pool useSlow or hung backend; timeout longer than the client's
HTTP 500 or 502 from the flowError log for the message ID, fault sequence outputBackend error or a mediator failing on unexpected data
HTTP 404 or 405 on the APIResource template, method, context path, deployed artifact versionArtifact not deployed, wrong version or path
Message never arrives at the backendEndpoint state (suspended or timed out), URL, DNS, firewallEndpoint marked suspended after repeated errors
Duplicate or missing messagesMessage store and processor state, retry settings, task scheduleRetry without idempotency; task running on two nodes
Slow flows under loadThread dumps, backend latency, large payload mediators, logging levelLarge payload in memory; verbose logging; backend limit
Fault at startupFirst error in the startup log, artifact deployment errors, keystore or config parse errorsBad configuration or an artifact referencing something missing
Authentication failuresToken or credential expiry, keystore trust, clock skewExpired certificate or secret

Change one thing at a time and record it. Restarts hide evidence.

Log locations

LogTypical useNote
Main server logErrors, startup, deploymentIn the logs folder of the installation; confirm the file name in your release
HTTP access logWho called what, status and timeUseful for load and client errors
Service, API and composite application logsPer-artifact loggingRaise the level for one artifact only, then lower it
Wire logRaw messages on the transportContains message content; use briefly and protect it
Endpoint traceWhich endpoint, what resultThe vendor documents it as a logging option
Audit or management logsWho changed whatCheck retention

Log levels and appenders are set in the logging configuration file. Change levels at run time where the product allows it, rather than redeploying.

Message flow tracing

  1. Find one failed message and its correlation or request ID. If none exists, add a log mediator that writes a unique ID at the start of the flow and passes it to the backend as a header.
  2. Read every log line with that ID, in order, and note where the path stops.
  3. Check which sequence, endpoint or mediator was last to run.
  4. Replay the same message to the backend directly, bypassing the flow, to separate flow faults from backend faults.
  5. Enable a narrow wire log or endpoint trace if you still cannot see the payload.
  6. Fix, replay the original message, and keep it as a regression test.

Make the correlation ID a standard in every new flow. Our project checklist lists it as a project rule.

When to escalate

  • Escalate to the application owner when the backend returns the error.
  • Escalate to platform operations when the pod, host, network or certificate is at fault.
  • Escalate to the vendor or your support partner when the fault reproduces on a clean flow, or a product stack trace points inside product code.
  • Escalate to the business owner when messages were lost or duplicated, since reconciliation is a business decision.

When you raise a case, send the version, the configuration diff, the message ID, relevant log extracts and what you already ruled out.

A first-ten-minutes routine

  1. Note the time, the symptom and the system affected.
  2. Check whether a deployment, certificate change or backend change happened in the last day.
  3. Check server health: process up, memory, threads, disk space.
  4. Find one failing message ID and read its log lines.
  5. Test the backend directly with the same request.
  6. If the backend is healthy, check the endpoint state and the failing mediator.
  7. Decide: fix, work around or escalate, and tell the business owner.

Write each step into your incident ticket as you go. After the incident, add the new symptom to the table above and share it with the team. A runbook that is not updated after incidents decays quickly.

Preventive checks

  • Set endpoint timeouts and failure policies explicitly.
  • Alert on error rate and latency, not only on server availability.
  • Rotate and track certificate expiry.
  • Keep disk space and log rotation under watch.
  • Practice a failover and a restore each quarter.

Related: WSO2 Micro Integrator consulting · Use case: ESB to Micro Integrator migration · WSO2 support · WSO2 Micro Integrator security hardening · WSO2 Micro Integrator on Kubernetes

Frequently asked questions

Where do I start when a WSO2 ESB flow fails?

Find the correlation or message ID, then read the log lines for that ID. Then check the endpoint state, then the backend. Most faults are backend or endpoint timeouts.

How do I see the actual message on the wire?

Enable wire logs for the transport in question, briefly and in a controlled environment, since they record message content. Disable them afterward.

Is this runbook for the old ESB or Micro Integrator?

Both. The log and config names differ by release, so check yours. The symptom flow is the same.

When should we call support?

When the fault reproduces after you removed your own artifacts from the path, or you see a product error with a stack trace you cannot trace to configuration.

What should we record during an incident?

Time, symptom, message IDs, what you changed, and the result of each step. It saves hours on the next one.

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