RE: Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-05 Thread Angus Mezick
I did an I got BasicDataSource. --Angus -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 4:19 AM To: Tomcat Users List Subject: Re: Using jndi to get a DBCP BasicDataSource give ClassCastException Hi Angus, looked at your first

RE:CLASSLOADER(?) Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-05 Thread Angus Mezick
BasicDataSource give ClassCastException I did an I got BasicDataSource. --Angus -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 4:19 AM To: Tomcat Users List Subject: Re: Using jndi to get a DBCP BasicDataSource give

Re: Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-05 Thread Adam Hardy
an I got BasicDataSource. --Angus -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 4:19 AM To: Tomcat Users List Subject: Re: Using jndi to get a DBCP BasicDataSource give ClassCastException Hi Angus, looked at your first mail and couldn't

RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Bodycombe, Andrew
I suppose there could be two different classes called BasicDataSource, in two different packages... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 16:03 To: Tomcat Users List Subject: Re: Using jndi to get a DBCP BasicDataSource give

RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Angus Mezick
[mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 11:11 AM To: 'Tomcat Users List' Subject: RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption I suppose there could be two different classes called BasicDataSource, in two different packages... -Original

RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Bodycombe, Andrew
/ -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 16:37 To: Tomcat Users List Subject: RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption Andrew: I wish, I don't use * in my imports though. I have attached the full tag that causes

Re: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Adam Hardy
:11 AM To: 'Tomcat Users List' Subject: RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption I suppose there could be two different classes called BasicDataSource, in two different packages... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 05

RE: Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-04 Thread Angus Mezick
Anyone have a clue as to whether or not this is a Real bug, or am I just screwing something up? -Original Message- From: Angus Mezick Sent: Wednesday, September 03, 2003 4:32 PM To: [EMAIL PROTECTED] Subject: Using jndi to get a DBCP BasicDataSource give ClassCastException I

Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-03 Thread Angus Mezick
I am having problems with the GlobalNamingResources. If I put my two DB resource entries into the GlobalNamingResources section and just use Resource-Links to access them I cannot cast from DataSource to BasicDataSource.. I need to do this to use this line in my monitoring app: (I can still use

Resource leak with a DBCP BasicDataSource?

2002-11-25 Thread Jerry Gaines
Hi, We're using a connection pool based on a DBCP 1.0 BasicDataSource, set up through our Tomcat 4.0 server.xml file. Every so often the retrieval of connections from the pool slows down to a snail's pace. We added some trace to the code which gets and releases connections to time how long

Re: DBCP - BasicDatasource? (yep, BasicDatasource and it works!)

2002-05-24 Thread Jacob Kjome
I'm answering my own question on this. I found my solution here: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 The one thing I added was a slightly different Java code snippet since I return a Connection rather than grab the DataSource and use the connection right there:

DBCP - BasicDatasource?

2002-05-23 Thread Jacob Kjome
I've got a question about setting up a connection pool using DBCP. Back when I was testing the nightly build from 20020404, I could swear I was getting back a PooledDataSource. Now with todays build (20020523), I am getting back a BasicDatasource. The code that I have looks like: