Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAS 3.5 Connection Pool Refresh

 
Peyyety Satish
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic