Re: mail/Session problem please help

2003-06-10 Thread Patricio Keilty
Check the resource reference in your application web.xml, it should look like: resource-ref description javax.mail.Session Factory Resource reference. /description res-ref-name mail-Session /res-ref-name res-type javax.mail.Session /res-type res-auth Container

Re: IOException: failed to communicate with MySQL

2003-06-05 Thread Patricio Keilty
Hi, as suggested in many threads in this list you´re probably dealing with mySQL driver connection timeout problem. For what you wrote, your connections are being managed by SQLManager class, so your not using Tomcat connection pooling. Tomcat DBCP provides a way to recycle broken or stale

Re: Tomcat / JDBC / MS SQL / Connection lost and won't reconnect

2003-06-03 Thread Patricio Keilty
Hi Paul, in order to make Tomcat connection pool detect your stale connections, you should set validationQuery parameter on your Datasource definition to something like SELECT 1. This query is used to validate a connection state when retrieving it from the pool, in case it fails the connection is