We have an application that has a ServletContextListener that creates three SqlMapClients in the contextInitialized.  When the application is shutting down(in the contextDestroyed) should we just null out those SqlMapClient or does it matter.


Called from the contextDestroyed


public static void stopService() {

      //Get ready for garbage collection

      singleton = null;

      reportingClientSingleton = null;

      nestedTransactionSingleton = null;



We have some memory leaks from our Websphere production environment and I just want tidy things up.




Tom Henricksen
Advanced Technologies Group, Inc.