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
I use data-source defintion below and no problem with it
data-source type=org.apache.commons.dbcp.BasicDataSource
set-property property=driverClassName
value=org.gjt.mm.mysql.Driver/
set-property property=url value=jdbc:mysql://localhost/telkomsel/
set-property property=maxCount
6 matches
Mail list logo