I have a web app where a
servlet is included in the web.xml file so it's instantiated.
Now, the issue is that after, say, 12 hours, if you try to start the application, the Connection object created in the init() of the servlet to access the database has been closed.
There is no timeout clause in web.xml.
Is this a feature of Web apps under
Tomcat or is there something else going on?
Any advice would be appreciated!
-- Mike