2005/10/20

[Troubleshoot] JDBC Connection Leak

資料庫連線洩漏原因

在JSP中設定ErrorPage時,發生跳轉,來不及關閉連線
程式的錯誤處理非在finally區塊關閉連線



緩解方式

設定InactiveConnectionTimeoutSeconds時間
最終一定要修復程式中的問題

1 comment:

Anonymous said...

Pre-order GameStop Xbox360 OMEGA Bundle
GameStop has their Xbox 360 bundles up today, and ironically there's only one left up for grabs: "THE OMEGA." Omega represents the 24th letter of the Greek alphabet, and also means "the end." Either "the end" ...
Find out how you can buy & sell anything, like things related to private road construction on interest free credit and pay back whenever you want! Exchange FREE ads on any topic, like private road construction!