Parada Alfresco

cancel
Showing results for 
Search instead for 
Did you mean: 
denissp
Member II

Parada Alfresco

Hola,

Tengo un problema con la parada de tomcat que contiene la instalación de Alfresco. El problema se me replica en todos los entornos que preparo con la misma versión de Alfresco, listo las versiones que tengo:

- Debian 6 (squeeze) x64
- JDK 1.6 update 20
- Tomcat 6.0.29
- Alfresco 4.0.e
- MySQL 5.1.66


El contenido del alfresco-global.properties es el siguiente:
<blockcode>
#
# Repositorio
#
dir.root=/datos/alfresco

#
# Datos de conexión la BBDD
#
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306
db.pool=250
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}

#
# Complementos
#
img.root=/usr/local
swf.exe=/usr/local/bin/pdf2swf
ooo.enabled=false

#
# Indexar en background
#
lucene.maxAtomicTransformationTime=0


# Protocolos de conexion (true/false)
cifs.enabled=false
ftp.enabled=true
ftp.port=2121

</blockcode>

Los valores de la máquina virtual de Java son:

-Xms1024m -Xmx1024m -Xss1024k -XX:MaxPermSize=512m -XX:NewSize=256m -server


Al parar Tomcat se ve una serie de errores en el log:
<blockcode>
29-may-2013 11:12:41 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausando Coyote HTTP/1.1 en puerto http-8080
29-may-2013 11:12:42 org.apache.catalina.core.StandardService stop
INFO: Parando servicio Catalina
29-may-2013 11:12:43 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@3bb94e08]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@2b20dda]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:43 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: 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@77ab6497]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:43 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@155932e2]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@131b9e61]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:43 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/share] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@7a3afc13]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@367b8216]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2013-05-29 11:12:44,865  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Replication' subsystem, ID: [Replication, default]
2013-05-29 11:12:44,866  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Replication' subsystem, ID: [Replication, default]
2013-05-29 11:12:44,916  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Subscriptions' subsystem, ID: [Subscriptions, default]
2013-05-29 11:12:44,917  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Subscriptions' subsystem, ID: [Subscriptions, default]
2013-05-29 11:12:44,917  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'googledocs' subsystem, ID: [googledocs, default]
2013-05-29 11:12:44,917  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'googledocs' subsystem, ID: [googledocs, default]
2013-05-29 11:12:44,917  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'email' subsystem, ID: [email, inbound]
2013-05-29 11:12:44,918  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'email' subsystem, ID: [email, inbound]
2013-05-29 11:12:44,926  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'fileServers' subsystem, ID: [fileServers, default]
2013-05-29 11:12:44,928  WARN  [factory.support.DisposableBeanAdapter] [main] Invocation of destroy method failed on bean with name 'fileServerConfiguration': java.lang.NullPointerException
2013-05-29 11:12:44,938  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'fileServers' subsystem, ID: [fileServers, default]
2013-05-29 11:12:44,942  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2013-05-29 11:12:44,943  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2013-05-29 11:12:44,952  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'OOoDirect' subsystem, ID: [OOoDirect, default]
2013-05-29 11:12:44,952  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'OOoDirect' subsystem, ID: [OOoDirect, default]
2013-05-29 11:12:44,954  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Synchronization' subsystem, ID: [Synchronization, default]
2013-05-29 11:12:44,954  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Synchronization' subsystem, ID: [Synchronization, default]
2013-05-29 11:12:44,957  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'email' subsystem, ID: [email, outbound]
2013-05-29 11:12:44,957  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'email' subsystem, ID: [email, outbound]
2013-05-29 11:12:44,962  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'imap' subsystem, ID: [imap, default]
2013-05-29 11:12:44,963  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'imap' subsystem, ID: [imap, default]
2013-05-29 11:12:45,244  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Search' subsystem, ID: [Search, managed, lucene]
2013-05-29 11:12:45,246  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Search' subsystem, ID: [Search, managed, lucene]
2013-05-29 11:12:45,276  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'thirdparty' subsystem, ID: [thirdparty, default]
2013-05-29 11:12:45,277  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'thirdparty' subsystem, ID: [thirdparty, default]
2013-05-29 11:12:45,282  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2013-05-29 11:12:45,282  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2013-05-29 11:12:45,282  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'Authentication' subsystem, ID: [Authentication, managed, ldap1]
2013-05-29 11:12:45,282  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'Authentication' subsystem, ID: [Authentication, managed, ldap1]
2013-05-29 11:12:45,302  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
2013-05-29 11:12:45,303  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [OplockExpire_Alfresco] but has failed to stop it. This is very likely to create a memory leak.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [Timer-9] but has failed to stop it. This is very likely to create a memory leak.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.template.QNameAwareObjectWrapper$1@7390ddad]) and a value of type [null] (value [org.alfresco.repo.template.QNameAwareObjectWrapper$1$1@2bc9c421]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@4b6b68fc]) and a value of type [java.util.WeakHashMap] (value [{class org.alfresco.repo.audit.model._3.Application=java.lang.ref.WeakReference@5d4e61f7, class org.alfresco.repo.audit.model._3.DataExtractor=java.lang.ref.WeakReference@4501cefc, class org.alfresco.repo.audit.model._3.DataGenerators=java.lang.ref.WeakReference@79bc25c8, class org.alfresco.repo.audit.model._3.RecordValue=java.lang.ref.WeakReference@2f54abe8, class org.alfresco.repo.audit.model._3.AuditPath=java.lang.ref.WeakReference@5fe2249e, class org.alfresco.repo.audit.model._3.Audit=java.lang.ref.WeakReference@77d2323f, class org.alfresco.repo.audit.model._3.PathMap=java.lang.ref.WeakReference@8e1038e, class org.alfresco.repo.audit.model._3.GenerateValue=java.lang.ref.WeakReference@6cb0642f, class org.alfresco.repo.audit.model._3.DataGenerator=java.lang.ref.WeakReference@30818168, class org.alfresco.repo.audit.model._3.PathMappings=java.lang.ref.WeakReference@656ebb9, class java.util.ArrayList=java.lang.ref.WeakReference@348dc1ef, class org.alfresco.repo.audit.model._3.DataExtractors=java.lang.ref.WeakReference@46b74cdd, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@2c176570}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3404b2ad]) 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@3c5d0d01]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@100db9d]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: 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@5f5220ee]) 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@8f01a26]) 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: 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@4b44b95f]) 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.
29-may-2013 11:12:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.springframework.extensions.webscripts.processor.FTLTemplateProcessor$NonBlockingObjectWrapper$1@ce63294]) and a value of type [freemarker.template.DefaultObjectWrapper] (value [freemarker.template.DefaultObjectWrapper@5d029929]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@55958273]) and a value of type [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory.ReferenceCountingReadOnlyIndexReader] (value [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@7c81ea2]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@6fee13f1]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@775f6c9f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
29-may-2013 11:12:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor$1@19d477f3]) 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.
29-may-2013 11:12:51 org.apache.coyote.http11.Http11Protocol destroy
INFO: Parando Coyote HTTP/1.1 en puerto http-8080
</blockcode>

El proceso nunca llega a finalizar y se tiene que cerrar el proceso con el comando "kill".

Muchas gracias.

2 Replies
cristinamr
Advanced

Re: Parada Alfresco

Buenas.

Prueba a ver con estos valores:


JAVA_OPTS="-Xms512m -Xmx1024m -Xss1024k -XX:MaxPermSize=256m -server"

Comentanos.

Un saludo.
--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
denissp
Member II

Re: Parada Alfresco

Muchas gracias por tu respuesta pero el problema persiste. Solo me pasa con esta versión de Alfresco, con la misma configuración en otras versiones no hay ningún problema.