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
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
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