Thanks. I've tried to specify minCount=2 and maxCount=4. But I've encountered a new exception: The Network Adapter could not establish the connection. Is that mean something wrong with my network connection?
I'm using Struts 1.1 Talos ----- Original Message ----- From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Tuesday, April 01, 2008 2:58 PM Subject: Re: Help on <data-source> Please Chen, the next time you post a question, say that you are using Struts 1.1 *always*. See the answers below. 2008/4/1, Chen Chunwei <[EMAIL PROTECTED]>: > <set-property property="minCount" value="" /> > <set-property property="maxCount" value="" /> I think this is the problem: specify a value for "minCount" and "maxCount". And remember to close the connection once you used it! Notice that, for default, a commons-dbcp datasource will be used, while I suggest to use the Oracle datasource. And, BTW, as Vinny said, the datasource support in Struts is deprecated, I suggest you to use JNDI and configure the datasource in your container. Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]