I use the OJB implementation of the ODMG API in a web application environment with
Tomcat 5 and PostgreSQL 7.4. During development I often redeploy my application into
the running Tomcat. When the servlet context is shutdown, I call
org.odmg.Database.close() to close the database connection.
However, the connection is still hanging around which can be noticed by PostgreSQL's
postmaster processes. (PostgreSQL has one process per database connection.) After
several edit-compile-deploy cycles I have a lot of them. Only when I shutdown Tomcat
the processes and the connections disappear. I suspect that org.odmg.Database.close()
does not really close the database connection.
Best regards
Rainer Klute
Rainer Klute IT-Consulting GmbH
Dipl.-Inform.
Rainer Klute E-Mail: [EMAIL PROTECTED]
K�rner Grund 24 Telefon: +49 172 2324824
D-44143 Dortmund Telefax: +49 231 5349423
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]