> From: whitesox12 [mailto:[EMAIL PROTECTED] > Subject: Web Service deployed on Tomcat stops responding > after sometime > > The issue I am facing is after deploying a service all works > fine. As soon as I leave the service idle means I don't make > any calls to the Web Service for couple of hours my > Web Service stops working.
It's possible that your DB connections are timing out and are not configured properly for automatic reconnect. The exact parameters are dependent on which DB you're using (you didn't say), but you'll need to set the validationQuery and testOnBorrow attributes: http://commons.apache.org/dbcp/configuration.html Search the archives for more info: http://marc.info/?l=tomcat-user - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]