This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 3.5 Connection Pool Refresh" Watch "WAS 3.5 Connection Pool Refresh" New topic
Author

WAS 3.5 Connection Pool Refresh

Peyyety Satish
Greenhorn

Joined: Nov 29, 2002
Posts: 1
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: WAS 3.5 Connection Pool Refresh
 
It's not a secret anymore!