Here's the properties to make sure a connection is still good: torque.dsfactory.default.pool.testOnBorrow=true torque.dsfactory.default.pool.validationQuery=SELECT 1
________________________________ From: Robert Kromkamp [mailto:[EMAIL PROTECTED] Sent: Fri 11/24/2006 2:32 AM To: Apache Torque Users List Subject: RE: There was no DataSourceFactory configured for the connection DATABASE Do you mean the maxIdle property in: http://jakarta.apache.org/commons/dbcp/configuration.html <http://jakarta.apache.org/commons/dbcp/configuration.html> Robert -----Original Message----- From: Thomas Vandahl [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: Thursday, November 23, 2006 8:39 PM To: Apache Torque Users List Subject: Re: There was no DataSourceFactory configured for the connection DATABASE Robert Kromkamp wrote: > "There was no DataSourceFactory configured for the connection DATABASE". > When I restart the webserver/applicationserver everything works fine > again. Do you have any ideas what will be the best why to handle this? > Is there a way to check if the current datasource connections are > still valid? This is a feature of the dbcp-configuration. See the part on initialization and configuration of the runtime in the Torque documentation, section SharedPoolDataSource. Bye, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Duke CE Privacy Statement Please be advised that this e-mail and any files transmitted with it are confidential communication or may otherwise be privileged or confidential and are intended solely for the individual or entity to whom they are addressed. If you are not the intended recipient you may not rely on the contents of this email or any attachments, and we ask that you please not read, copy or retransmit this communication, but reply to the sender and destroy the email, its contents, and all copies thereof immediately. Any unauthorized dissemination, distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]