RE: Commons DBCP in Tomcat 6.x

2010-03-10 Thread Propes, Barry L
Subject: RE: Commons DBCP in Tomcat 6.x > From: Dhiren Bhatia [mailto:dhiren.for...@gmail.com] > Subject: Re: Commons DBCP in Tomcat 6.x > > reloadable="true" crossContext="true"> elements should not be placed in server.xml: http://tomcat.apache.org/tomcat-6

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Dhiren Bhatia
c? 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 > >

RE: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Commons DBCP in Tomcat 6.x > > > > Again, as Chuck suggests, this is the long way of doing resource > parameters. You can shove all this stuff into , now. It's not the long way - it simp

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dhiren, On 3/9/2010 3:19 PM, Dhiren Bhatia wrote: > The Resource is defined as follows in the server.xml file: As Chuck suggests, move from server.xml to META-INF/context.xml in your webapp. > reloadable="true" > cr

RE: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Caldarale, Charles R
> From: Dhiren Bhatia [mailto:dhiren.for...@gmail.com] > Subject: Re: Commons DBCP in Tomcat 6.x > > reloadable="true" crossContext="true"> elements should not be placed in server.xml: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html >

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Dhiren Bhatia
< chuck.caldar...@unisys.com> wrote: > > From: Dhiren Bhatia [mailto:dhiren.for...@gmail.com] > > Subject: Re: Commons DBCP in Tomcat 6.x > > > > Why is it looking for > > org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory? > > For us to answer that, you need

RE: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Caldarale, Charles R
> From: Dhiren Bhatia [mailto:dhiren.for...@gmail.com] > Subject: Re: Commons DBCP in Tomcat 6.x > > Why is it looking for > org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory? For us to answer that, you need to pay attention to Konstantin's question: > > -Orig

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Dhiren Bhatia
n my way. > > > > -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Tuesday, March 09, 2010 11:38 AM > To: Tomcat Users List > Subject: Re: Commons DBCP in Tomcat 6.x > > 2010/3/9 Dhiren Bhatia : > > Hi, > > > > I'

RE: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Propes, Barry L
ctory resource. Now I'm only getting a naming context error. If I get that fixed, I'll be on my way. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Tuesday, March 09, 2010 11:38 AM To: Tomcat Users List Subject: Re: Commons DBCP in Tomca

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Konstantin Kolinko
2010/3/9 Dhiren Bhatia : > Hi, > > I'm trying to use the commons DBCP package with Tomcat 6.x. I know that the > tomcat_dbcp.jar has the commons files renamed, however I would prefer to use > the commons jar files so I can use the class > org.apache.commons.dbcp.BasicDataSource in my code. > > To d

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dhiren, On 3/9/2010 11:48 AM, Dhiren Bhatia wrote: > I'm trying to use the commons DBCP package with Tomcat 6.x. I know that the > tomcat_dbcp.jar has the commons files renamed, however I would prefer to use > the commons jar files so I can use the cl

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Mark Shifman
http://marc.info/?l=tomcat-user&m=126772163323329&w=2 This article claims you can set a startup option... but I haven't tried it. mas Dhiren Bhatia wrote: > Hi, > > I'm trying to use the commons DBCP package with Tomcat 6.x. I know that the > tomcat_dbcp.jar has the commons files renamed, however

Commons DBCP in Tomcat 6.x

2010-03-09 Thread Dhiren Bhatia
Hi, I'm trying to use the commons DBCP package with Tomcat 6.x. I know that the tomcat_dbcp.jar has the commons files renamed, however I would prefer to use the commons jar files so I can use the class org.apache.commons.dbcp.BasicDataSource in my code. To do this, I deleted the tomcat_dbcp.jar f