Hi,

I'm using the JSTL SQL tags on a live site, the SQL tags all use a JNDI
datasource.
The datasource is set at web-application startup by a
ServletContextListener.
After a while (1 to 2 days) the SQL tags are no longer able to connect to
the datasource, the error message:
====================
javax.servlet.jsp.JspException:
 <the SQL query>
: Communication link failure: java.net.SocketException
====================

My current solution is a Tomcat restart...

Can anybody point me a direction where to look for a a real solution.
(I thought about setting the datasource using SessionListener but it doesn't
feel right)

The setup:
Tomcat 4.1 (4.1.3?)
JSTL 1.0
MySQL 3.23.49a
MySQL JDBC mm.mysql-2.0.13-bin.jar


Thanks,
  Urbaan

The site: http://eclipse-plugins.2y.net/eclipse/index.jsp


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to