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
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
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
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
[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
/
-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
: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
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
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
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
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:
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:
12 matches
Mail list logo