我在我們的開發應用程序中面臨掛起java線程的問題。以下是日誌跟蹤: 關於線程在websphere中掛起的問題
020 SystemOut O --------------------------------------------------------------------------------
[8/1/12 11:00:21:136 CDT] 00000023 ThreadMonitor W WSVR0605W: Thread "WebContainer : 6" (00000027) has been active for 731757 milliseconds and may be hung. There is/are 2 thread(s) in total in the server that may be hung.
[8/1/12 11:00:24:626 CDT] 00000021 FreePool E J2CA0045E: Connection not available while invoking method createOrWaitForConnection for resource jdbc/RTNCTR_DEV.
[8/1/12 11:00:24:636 CDT] 00000021 SystemOut O
[8/1/12 11:00:24:636 CDT] 00000021 SystemOut O --------------------------------------------------------------------------------
無法找到此問題的根本原因,請告知可能的解決辦法,人們請指教,因爲我卡住了.. !!
我想你的線程掛起是因爲websphere無法連接到數據庫並被卡住。檢查數據庫有多少連接處於活動狀態,因爲您可能會遇到限制。當您重新啓動websphere和db時,問題是否會再次出現。連接有效嗎? – beny23 2012-08-14 09:24:27