Memory Leak no Tomcat

Olá Pessoal!

Estou tendo problemas na hora de fazer deploy no tomcat… Algumas vezes o tomcat simplesmente não faz o deploy (Erro 404), e outras vezes faz em partes (ocorrendo vários SocketTimeOutExceptions). Não sei se isso é normal, se tratando de um servidor de aplicaçoes…

Obs.:

  • Minha aplicação é Desktop mas se conecta com um servidor através de WebService (Axis + Tomcat).
  • Tenho uma Thread rodando no WS chamada Session Clear Thread que fica ativa por tempo indeterminado para fazer a limpeza das sessões inativas da memória do servidor.
  • Tenho um timeout de 3 segundos para as chamadas ao WS, mas acredito não ser isso…

Segue parte do log do tomcat (percebam que a Thread das sessões não foi stopada e avisa um possível vazamento de memória):

[code]06/12/2010 11:07:45 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/SGLojaTeste]
06/12/2010 11:07:45 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
06/12/2010 11:07:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

//Linha da thread que limpa as sessões:
SEVERE: A web application appears to have started a thread named [Session Clear Thread] but has failed to stop it. This is very likely to create a memory leak.

06/12/2010 11:07:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@3e850da]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@9141a37]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
06/12/2010 11:07:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@3e850da]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@6c51589]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
06/12/2010 11:07:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@3e850da]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@7508d8d7]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
06/12/2010 11:07:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@3e850da]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@17d44748]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
06/12/2010 11:07:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@3e850da]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@7193d430]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
06/12/2010 11:07:45 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive SGLojaTeste.war
06/12/2010 11:07:45 org.apache.axis.configuration.EngineConfigurationFactoryServlet getServerEngineConfig
SEVERE: Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
06/12/2010 11:09:39 org.apache.axis.configuration.EngineConfigurationFactoryServlet getServerEngineConfig
SEVERE: Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd[/code]

O que posso fazer para resolver esses erros no deploy?
Obs.: Quando acontecem os SocketTimeOuts, o único jeito de rodar a aplicação corretamente é stopando e startando o Tomcat, hot deploy nem pensar…

Obrigado pela ajuda, desde já…