The fact that I use JOTM with Tomcat forces me to use a different data
source factory from the one described in the MySQL document Using
Connector/J with Tomcat,
(http://dev.mysql.com/doc/refman/4.1/en/cj-tomcat-config.html) -
org.objectweb.jndi.DataSourceFactory vs.
I use Tomcat 5.0.28 on both Fedora and FreeBSD, MySQL 4.1.14,
J/Connector JDBC driver for MySQL 3.1.11 and JOTM 2.0.10. From time to
time I get the MySQL JDBC driver exception No operations allowed after
connection closed, after which DB calls from my application keep
failing. The stack trace