> From: pprun [mailto:runping_hu...@hotmail.com] > Subject: DataSourceRealm failed to retrieve password after tomcat > server being idle overnight > > When I left server idle overnight and tried to login > into the application the next day, DataSourceRealm > would fail in retrieving password.
Not uncommon - the DB server timed out the session. Try adding this to your <Resource>: testOnBorrow="true" validationQuery="/* ping */ SELECT 1" - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org