wood burning stoves
The moose likes Websphere and the fly likes WAS 3.5 Connection Pool Refresh Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 3.5 Connection Pool Refresh" Watch "WAS 3.5 Connection Pool Refresh" New topic

WAS 3.5 Connection Pool Refresh

Peyyety Satish

Joined: Nov 29, 2002
Posts: 1
I would like to Refresh the connection pool of a datasource without restarting the server. Is it possible in WAS 3.5.
Elaborating further, "physical" Connections to databases are pooled by App Server for each datasource. Can i destroy all these connections explicitly, such that when a new connection is asked using getConnection() , Datasouce again start creating physical connections and start pooling it. (This happens automatically when a StaleConnectionException is encountered ==> done by ApplicationServer)
I have gone through the "Websphere Connection Pooling" document posted at IBM site.The only thing that i could get from it is abt com.ibm.websphere.advanced.cm.factory.DataSourceFactory. I couldn't find any methods for refreshing the connections.
Thanks in advance
Satish Peyyety
subject: WAS 3.5 Connection Pool Refresh
jQuery in Action, 3rd edition