The Smoking Gun
Explore how a single uncaught SQLException in JDBC connection management led to a system-wide outage for a major airline. Learn to diagnose resource leaks, the impact of exception handling, and why robust error handling is critical to maintaining system stability in distributed environments.
We'll cover the following...
What happened to CF
At this point, the postmortem analysis agreed with the symptoms from the outage itself: CF appeared to have caused both the IVR and kiosk check-in to hang. The biggest remaining question was still: “What happened to CF?”
Actually, at first glance, this method looks well constructed. Use of the try/finally block indicates the author’s desire to clean up resources. In fact, this very cleanup block has appeared in some Java books on the market. Too bad it contains a fatal flaw.
Suppose the JDBC connection was created before the ...