This content has been marked as final.
Show 1 reply
-
1. Re: Restoring database connection
davidjencks Oct 18, 2001 1:00 AM (in response to snaresh)No there isn't, however if no one is trying to use jboss while oracle is down, and you know how long it will be down for, you may be able to use the idle timeout.
Set idletimeout to maybe 1/2 oracle downtime
IdleTimeoutEnabled = true
GCEnabled = true
GCIntervale also about 1/2 Oracle downtime.
Then connections that are idle between 1/2 and 1 Oracle downtime will be discarded and replace with new ones when requests are made. (you probably want pool min size 0 also)