cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot shutdown with 4.0.d (Linux 64)

michaelk
Champ in-the-making
Champ in-the-making
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
26 REPLIES 26

michaelk
Champ in-the-making
Champ in-the-making
This also happens on the 4.1a nightly build with a plain vanilla clean installation
(Linux 64 bit using the text installer)

ibol737
Champ in-the-making
Champ in-the-making
In Alfresco 4.0.d shutdown 300 -force. Before this was shutdown 3 -force.

michaelk
Champ in-the-making
Champ in-the-making
In my 4.0.c tomcat/scripts/ctl.sh it is also
 $TOMCAT_BINDIR/shutdown.sh 300 -force
  :shock:

lachmac
Champ in-the-making
Champ in-the-making
I have the same problem. I am running Debian, MySQL and Tomcat, clean install from the 64 bit inatsller. For 4.0.d and for 4.1.a the shutdown of alfresco takes a VERY long time and generates lots of "SEVERE" statements in catalina.out.
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 30, 2012 10:08:01 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
Jan 30, 2012 10:08:02 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jan 30, 2012 10:08:02 PM 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@52548278]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:02 PM 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@2a41be82]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@42425e7a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:02 PM 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@1348bd92]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@c95c622]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:02 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap


Jan 30, 2012 10:08:02 PM 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@3d02e8a2]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@16c917ab]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:02 PM 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@1348bd92]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@6c30e73c]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:02 PM 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@3d02e8a2]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@7e9d4ba1]) 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.
2012-01-30 22:08:04,827  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Replication' subsystem, ID: [Replication, default]
2012-01-30 22:08:04,834  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Replication' subsystem, ID: [Replication, default]
2012-01-30 22:08:04,914  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Subscriptions' subsystem, ID: [Subscriptions, default]
2012-01-30 22:08:04,914  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Subscriptions' subsystem, ID: [Subscriptions, default]
2012-01-30 22:08:04,915  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'googledocs' subsystem, ID: [googledocs, default]
2012-01-30 22:08:04,915  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'googledocs' subsystem, ID: [googledocs, default]
2012-01-30 22:08:04,915  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'email' subsystem, ID: [email, inbound]
2012-01-30 22:08:04,916  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'email' subsystem, ID: [email, inbound]
2012-01-30 22:08:04,925  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'fileServers' subsystem, ID: [fileServers, default]
2012-01-30 22:08:05,672  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'fileServers' subsystem, ID: [fileServers, default]
2012-01-30 22:08:05,701  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2012-01-30 22:08:05,705  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2012-01-30 22:08:05,720  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'OOoDirect' subsystem, ID: [OOoDirect, default]
2012-01-30 22:08:05,730  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'OOoDirect' subsystem, ID: [OOoDirect, default]
2012-01-30 22:08:05,734  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Synchronization' subsystem, ID: [Synchronization, default]
2012-01-30 22:08:05,735  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Synchronization' subsystem, ID: [Synchronization, default]
2012-01-30 22:08:05,739  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'email' subsystem, ID: [email, outbound]
2012-01-30 22:08:05,740  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'email' subsystem, ID: [email, outbound]
2012-01-30 22:08:05,776  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'imap' subsystem, ID: [imap, default]
2012-01-30 22:08:05,784  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'imap' subsystem, ID: [imap, default]
2012-01-30 22:08:06,090  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Search' subsystem, ID: [Search, managed, lucene]
2012-01-30 22:08:06,116  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Search' subsystem, ID: [Search, managed, lucene]
2012-01-30 22:08:06,158  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'thirdparty' subsystem, ID: [thirdparty, default]
2012-01-30 22:08:06,162  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'thirdparty' subsystem, ID: [thirdparty, default]
2012-01-30 22:08:06,192  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2012-01-30 22:08:06,193  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2012-01-30 22:08:06,223  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
2012-01-30 22:08:06,224  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Timer-2] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Timer-3] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Timer-4] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Timer-5] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Timer-6] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [Timer-10] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [JobLockService1] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@781c1aa5]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@7d19843d]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@786de038]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@759bba4c]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@42e40fe6]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@acfe759]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@575d899a]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3df50a45]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@227557ca]) and a value of type [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory.ReferenceCountingReadOnlyIndexReader] (value [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@27e2965d]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor$1@cfdc820]) 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.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@695db389]) and a value of type [java.util.WeakHashMap] (value [{class org.alfresco.repo.audit.model._3.DataExtractor=java.lang.ref.WeakReference@57fa5e57, class org.alfresco.repo.audit.model._3.PathMappings=java.lang.ref.WeakReference@7647cee0, class org.alfresco.repo.audit.model._3.Application=java.lang.ref.WeakReference@645f10ca, class org.alfresco.repo.audit.model._3.DataExtractors=java.lang.ref.WeakReference@1d477141, class org.alfresco.repo.audit.model._3.DataGenerator=java.lang.ref.WeakReference@3d5c716b, class java.util.ArrayList=java.lang.ref.WeakReference@1a4746, class org.alfresco.repo.audit.model._3.PathMap=java.lang.ref.WeakReference@3d3d44b7, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@16a69ca, class org.alfresco.repo.audit.model._3.Audit=java.lang.ref.WeakReference@71474d7f, class org.alfresco.repo.audit.model._3.RecordValue=java.lang.ref.WeakReference@3106f3, class org.alfresco.repo.audit.model._3.AuditPath=java.lang.ref.WeakReference@12bf3b9e, class org.alfresco.repo.audit.model._3.GenerateValue=java.lang.ref.WeakReference@48e30baf, class org.alfresco.repo.audit.model._3.DataGenerators=java.lang.ref.WeakReference@3214338b}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@57a5b22]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@23f517fd]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.template.QNameAwareObjectWrapper$1@2ff9f57c]) and a value of type [null] (value [org.alfresco.repo.template.QNameAwareObjectWrapper$1$1@4363b87f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@47e5bc69]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@55313598]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@11b5b9da]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.content.transform.TransformerDebug$ThreadInfo$1@31bca04b]) and a value of type [org.alfresco.repo.content.transform.TransformerDebug.ThreadInfo] (value [org.alfresco.repo.content.transform.TransformerDebug$ThreadInfo@3fc81aa2]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:06 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

Jan 30, 2012 10:08:07 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.content.transform.TransformerDebug$ThreadInfo$1@31bca04b]) and a value of type [org.alfresco.repo.content.transform.TransformerDebug.ThreadInfo] (value [org.alfresco.repo.content.transform.TransformerDebug$ThreadInfo@1d6a5ae]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:07 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@11b5b9da]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:07 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@43029922]) and a value of type [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory.ReferenceCountingReadOnlyIndexReader] (value [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@33174373]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:07 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@781c1aa5]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:07 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6a4ca264]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:07 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value [org.apache.xmlbeans.XmlBeans$1@61830fe0]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@3c4d4d39]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:07 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3560ad02]) and a value of type [org.alfresco.util.CachingDateFormat.SimpleDateFormatAndResolution[]] (value [[Lorg.alfresco.util.CachingDateFormat$SimpleDateFormatAndResolution;@6f44d844]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@6de6beb7]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4d3989c1]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@522bd0b6]) and a value of type [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory.ReferenceCountingReadOnlyIndexReader] (value [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@10d2916e]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@47f318bf]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7c830582]) and a value of type [org.mozilla.javascript.NativeObject] (value [[object Object]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7dded9aa]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@7d19843d]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@78966075]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@5896df2c]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@1915ef24]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@31a46875]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@20c5f2c9]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@23f517fd]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@6f073159]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@23c67aee]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@5f4581b]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@6cc457aa]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.template.QNameAwareObjectWrapper$1@2ff9f57c]) and a value of type [null] (value [org.alfresco.repo.template.QNameAwareObjectWrapper$1$1@7049d562]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4d5c55ba]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@69004e03]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@3fdb97ff]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@7244412e]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@65ba3098]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@22cc7f55]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@57a5b22]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1301dcd0]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@3bb4b65f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor$1@cfdc820]) 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.
Jan 30, 2012 10:08:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@64f359e8]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:WARN No appenders could be found for logger (org.alfresco.repo.management.subsystems.ChildApplicationContextFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Jan 30, 2012 10:08:25 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 30, 2012 10:08:25 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443

I have read some postings that indicate that this is not serious, but it still feels more than iffy to have all this happen at shutdown.

What could I have been missing?

luke1710
Champ in-the-making
Champ in-the-making
I've been monitoring this topic ever since it was posted, and trying my very best to fix this issue for two weeks now but still no luck.
I installed 4.0.d linux package on a a server with CentOS 6 64-bit. Using 4.0.c and below, I never encountered this issue.
Only 4.0.d and beyond. I also have the same logs of the author of this topic..

mrogers
Star Contributor
Star Contributor
You can ignore those scary looking "Severe" warnings from tomcat, they are not a problem, especially as tomcat is shutting down.

There's clearly a thread which is refusing to die.   A dump would tell us which one.

lachmac
Champ in-the-making
Champ in-the-making
In my posting above I have included parts of the "catalina.out" is there any clue in that what could be wrong? Smiley Surprisedops:

It feels a bit iffy, and more that a bit, to get a log file full of severe warnings, and to have the system hang for close to 5 minutes on shutdown.  Smiley Surprised

redguy
Champ in-the-making
Champ in-the-making
have same problem.
alfresco 4.0.d from package, debian squeeze 64bit as xen domU, postgresql…
any clues how to fix it?

ezah
Champ in-the-making
Champ in-the-making
Have the same problem. Debian Squeeze 64bits, Alfresco 4.0.d.

process status command show java running.

4.0.c is ok. nicely stop;