Members course · Advanced

WebSphere in Production

The WebSphere incidents that actually happen and how to prevent them, on Liberty and traditional WebSphere Application Server: class loading conflicts, configuration drift, redeploy memory leaks, connection pool exhaustion, hung threads, GC pauses, lost sessions, expired internal certificates, broken LTPA single sign-on, migration surprises, Kubernetes probes that kill Liberty Pods, and fix pack rollouts, with runnable simulations in every lesson.

Start the course

1. Deployment and Configuration

Incidents that start with how applications and servers are packaged and configured.

  1. NoSuchMethodError in Production — An application that passed every test failed in production because the server loaded an older copy of a library. Find which JAR wins, remove duplicates, and change class loading deliberately.
  2. The Setting Nobody Wrote Down — A production data source timeout fixed by hand in the admin console was lost when the cell was rebuilt, and the outage came back. Manage WebSphere configuration as code.
  3. Memory That Grows With Every Redeploy — Each hot redeploy left the previous version's classes in memory until the server ran out of heap. Find what holds the old class loader, fix cleanup, and stop relying on hot redeploys.

2. Performance

Pools, threads and the JVM: where WebSphere performance incidents come from.

  1. J2CA0045E at Peak Hour — At the monthly peak, requests failed waiting for database connections. Long transactions held connections during a remote call. Fix the transaction scope, add timeouts, then size the pool.
  2. Every Thread Waiting on One Service — A slow inventory service with no client timeout tied up every web container thread; the server looked dead while CPU sat idle. Add timeouts and circuit breakers, and alert on hung threads early.
  3. Two-Second Pauses Every Minute — Response times spiked every minute because an oversized, badly tuned heap caused long garbage collection pauses. Turn on verbose GC, size the heap from data, and tune the nursery.

3. Availability and Security

Sessions, certificates and single sign-on: the failures users notice first.

  1. Logged Out When a Member Restarts — Restarting one cluster member logged out a third of users and emptied their carts. Sessions lived only in member memory. Replicate or persist them, keep them small, or go stateless.
  2. The Certificate Behind the Web Server — The site went down although the public certificate was valid: a certificate between IBM HTTP Server and the application servers had expired. Inventory every keystore and monitor expiry.
  3. SSO Broke After a Key Change — After the security team regenerated LTPA keys in one cell, users bounced between login pages across applications. Share and rotate LTPA keys together, or move to OpenID Connect.

4. Modernisation

Moving from traditional WAS to Liberty and containers, and keeping servers patched.

  1. The Migration That Passed Unit Tests — An application moved to Liberty passed its unit tests but failed in staging: missing features, JNDI bindings and a transaction timeout behaved differently. Assess with the tools, then test like production.
  2. Pods Killed Before They Started — Liberty Pods on Kubernetes were restarted in a loop because the liveness probe started before the application finished starting. Use startup, liveness and readiness probes on MicroProfile Health, and consider InstantOn.
  3. The Fix Pack That Broke Login — A fix pack applied to every node at once changed security behaviour and broke login across the cell. Roll fix packs through environments and nodes in stages, with backups and a rollback plan.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake