You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jamison Stepan <ja...@dnr.state.mn.us> on 2000/09/25 18:18:52 UTC

Weird problem.

Hello,

I'm running Tomcat 3.2 and have created a simple servlet that does a database query, populates a JavaBean (not EJB) and then dispatches a Vector object (filled with JavaBeans) to a jsp which then iterates through the Vector and displays the results. My problem is that after the server has been running for over a day the page starts generating NullPointer errors. The sterr output shows an IO Exception in the database driver. Aside from closing the database connection is there something else that needs to be done in the destroy method of my servlet? Do I need to kill the JavaBean off somehow?

Any insight would be appreciated.

Thanks,

Jamison Stepan

--
~~~~~~~~~~~~~~~~~~~~~~~~~~
Jamison Stepan
Programmer Analyst
651-215-5922
jamison.stepan@dnr.state.mn.us
~~~~~~~~~~~~~~~~~~~~~~~~~~