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
| Symptom | First checks | Usual cause |
|---|---|---|
| Client gets timeouts | Endpoint timeout setting, backend response time, thread or connection pool use | Slow or hung backend; timeout longer than the client's |
| HTTP 500 or 502 from the flow | Error log for the message ID, fault sequence output | Backend error or a mediator failing on unexpected data |
| HTTP 404 or 405 on the API | Resource template, method, context path, deployed artifact version | Artifact not deployed, wrong version or path |
| Message never arrives at the backend | Endpoint state (suspended or timed out), URL, DNS, firewall | Endpoint marked suspended after repeated errors |
| Duplicate or missing messages | Message store and processor state, retry settings, task schedule | Retry without idempotency; task running on two nodes |
| Slow flows under load | Thread dumps, backend latency, large payload mediators, logging level | Large payload in memory; verbose logging; backend limit |
| Fault at startup | First error in the startup log, artifact deployment errors, keystore or config parse errors | Bad configuration or an artifact referencing something missing |
| Authentication failures | Token or credential expiry, keystore trust, clock skew | Expired certificate or secret |
Change one thing at a time and record it. Restarts hide evidence.
Log locations
| Log | Typical use | Note |
|---|---|---|
| Main server log | Errors, startup, deployment | In the logs folder of the installation; confirm the file name in your release |
| HTTP access log | Who called what, status and time | Useful for load and client errors |
| Service, API and composite application logs | Per-artifact logging | Raise the level for one artifact only, then lower it |
| Wire log | Raw messages on the transport | Contains message content; use briefly and protect it |
| Endpoint trace | Which endpoint, what result | The vendor documents it as a logging option |
| Audit or management logs | Who changed what | Check 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
- 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.
- Read every log line with that ID, in order, and note where the path stops.
- Check which sequence, endpoint or mediator was last to run.
- Replay the same message to the backend directly, bypassing the flow, to separate flow faults from backend faults.
- Enable a narrow wire log or endpoint trace if you still cannot see the payload.
- 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
- Note the time, the symptom and the system affected.
- Check whether a deployment, certificate change or backend change happened in the last day.
- Check server health: process up, memory, threads, disk space.
- Find one failing message ID and read its log lines.
- Test the backend directly with the same request.
- If the backend is healthy, check the endpoint state and the failing mediator.
- 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.



