If I have a connection pool registered in JNDI as a DataSource, how do I get rid of it when I no longer need it, and thereby release all of the pooled connections? I don't see a close() or destroy() method in either the DataSource or ConnectionPoolDataSource interface.
Ron Newman - SCJP 1.2 (100%, 7 August 2002)
Joined: Jan 23, 2002
Isn't this the application server tools' responsibility (the same way as it's the appserver tools used to create/configure the DataSources)?
I don't know. What is an "application server tool" and how does it get invoked when a servlet context is being shut down? I'm not using any "tools" that I know of to configure or create the data source; I'm just adding stuff to server.xml and web.xml . [ July 24, 2003: Message edited by: Ron Newman ]