Thanks for the feedback, I've updated the Resource Tag and moved Context to META_INF. I've also changed the code to use javax.sql.DataSource. Is there any way to get the number of active/idle connections like you can with the BasicDataSource object's methods getNumActive etc? How do I get information on the status of the connection pool?
Thanks! On Tue, Mar 9, 2010 at 1:14 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > > Subject: Re: Commons DBCP in Tomcat 6.x > > > > <ResourceParams name="jdbc/myserver"> > > > > Again, as Chuck suggests, this is the long way of doing resource > > parameters. You can shove all this stuff into <Resource>, now. > > It's not the long way - it simply doesn't work in 5.5 and above. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > >