AnsweredAssumed Answered

Cannot shutdown with 4.0.d (Linux 64)

Question asked by michaelk on Feb 9, 2012
Latest reply on Aug 20, 2012 by michaelk
I am not able to shutdown using 4.0.d (no problem with previous versions 4.0.c/b/a).
The shutdown script tries to first stop Tomcat but hangs (and never gets to shutting down postgrsql and openoffice).
It looks like that Tomcat is generating "severe" errors when shutdown is initiated. catalina.out shows lots of errors (see below)
This makes routine maintenance impossible. Does anyone know what could be the problem ?

Michael

……….
Feb 9, 2012 3:46:25 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Feb 9, 2012 3:46:26 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/share] created a ThreadLocal with key of type [null] (value [null]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@5bb1ffad]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Feb 9, 2012 3:46:26 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@308e5e3]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@3d2c9ba3]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Feb 9, 2012 3:46:26 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@3b9e09b5]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@48f68a7]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Feb 9, 2012 3:46:26 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

….  lots more like this

SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor$1@5fe170c5]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Feb 9, 2012 3:46:43 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
Feb 9, 2012 3:46:43 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Feb 9, 2012 3:46:43 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443

Outcomes