2008年1月15日 星期二

BEA-000627 >> Reached maximum capacity of pool "My Connection Pool", making "0" new resource instances instead of "1".

Web console =>
Configuration => Connections => click Advanced Options [ Show ]

Login Delay: 創建物理連接延遲
Allow Shrinking :允許收縮,當已創建連接不用時,收縮到最初創建的連接數或正在使用的連接數
Shrink Frequency: 收縮時間
Enable Connection Leak Profiling:收集連接洩漏信息
Connection Reserve Timeout: 連接超時保留時間
Connection Creation Retry Frequency: 重新創建數據庫連接頻率
Inactive Connection Timeout: 非活動連接超時時間
Maximum Waiting for Connection: 最大請求連接數
Maximum Connections Made Unavailable:連接池不被應用程序使用最大連接數

2008/1/15 (Testing setting)
Enable Connection Profiling => enable
Shrink Frequency:900 => 300 second
Inactive Connection Timeout: 0 => 100 second

2008年1月4日 星期五

ORA-02264

ORA-02264: name already used by an existing constraint
ORA-06512: at "DS_USER.CMA070M", line 46

EXECUTE IMMEDIATE
'DROP TABLE '||TABLENAME||' cascade constraints';

改成
'DROP TABLE '||TABLENAME||' cascade constraints purge';