2005/10/20

[Troubleshoot] JDBC Connection Leak

資料庫連線洩漏原因

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



緩解方式

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

2 comments:

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!

Anonymous said...

Sentinel hurricane blog
This is a minute-by-minute account of developments in Central Florida. Click on a subject in the category archives below for information segmented by county or topic.
Blog information helps out a lot, and I like the style of your blog here. Interesting information and useful content... I think I add you to my favorites. With your permission I'll be coming back. Can I tell a friend?

great job making this blog (good design!), keep up the good work!

~ have a nice day.
kissing tips (= my site)