DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15598>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15598 Admin app should not write empty validation query to server.xml for datasources. Summary: Admin app should not write empty validation query to server.xml for datasources. Product: Tomcat 4 Version: 4.1.18 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Webapps:Administration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Dug up an interesting one with PostgreSQL JDBC drivers for 7.2 and 7.3. If validationQuery parameter is in the configuration of the datasource but it's value is just <value></value>, DBCP is assigned the empty string and in turn attempts to execute it as SQL. The resulting behavior is an infinite loop. I'm not sure if this is technically a short coming in DBCP or if it's a problem with Tomcat. I'm posting it here as the validationQuery should not be written as it is not initialized to any value. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>