Sorry.  Never mind.  I just saw that there was support
added for refreshing the built in Struts Connection
Pool, but I didn't know about it.  You can add on of
these lines in a data-source element.

<set-property property="pingCommand"
value="rollback"/>

or

<set-property property="pingQuery" value="SELECT ID
FROM USER"/>


David

--- David Winterfeldt <[EMAIL PROTECTED]> wrote:
> What would someone recommend for using as a
> connection
> pool besides the Struts one?  Basically I'm looking
> for a similiar product, but I want it to be able to
> check if a connection has been lost or gone bad and
> create a new one to replace the bad one.  I see that
> there is a pool project in jakarta-commons, but it
> doesn't seem like it is ready yet for production
> use.
> 
> David
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Reply via email to