Hi All,
After a similar struggle to the original poster I managed to get the
BasicDataSource to work, but I wonder about the properties you're
setting below - the javadoc on BasicDataSource doesn't mention maxCount
or minCount (I gather maxActive and minIdle are their equivalents) so
are those
to this.
best regards
-GI.
- Original Message -
From: Oliver Meyn [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, November 21, 2003 6:49 AM
Subject: Re: MySql BasicDataSource Connection
Hi All,
After a similar struggle to the original poster I managed to get
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, November 21, 2003 11:01 AM
Subject: Re: MySql BasicDataSource Connection
Well, at posting before I just want to point out the use of
driverClassName rather than driverClass if we use BasicDataSource.
And the others
[mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 10:11 PM
To: Struts Users Mailing List
Subject: Re: MySql BasicDataSource Connection
I use data-source defintion below and no problem with it
data-source type=org.apache.commons.dbcp.BasicDataSource
set-property property=driverClassName
-
From: Pacheco, Brent [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 5:38 AM
Subject: RE: MySql BasicDataSource Connection
Gede,
Thanks so much for your help! The problem was that I had the property
listed as driverClass instead
15, 2003 12:31 AM
Subject: MySql BasicDataSource Connection
Howdy!
I'm using Struts 1.1 in WebSphere and I'm attempting to replace the
GenericDataSource connection pool in my struts-config.xml file with a
BasicDataSource connection pool to hit a mySQL database, but I keep
getting
an error
Howdy!
I'm using Struts 1.1 in WebSphere and I'm attempting to replace the
GenericDataSource connection pool in my struts-config.xml file with a
BasicDataSource connection pool to hit a mySQL database, but I keep getting
an error. The data-source defintion in my struts-config.xml file is as
7 matches
Mail list logo