Alfresco 3.2-9 / Ubuntu 10.4

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

Alfresco 3.2-9 / Ubuntu 10.4

Bonjour,
J'essaie désespérement d'installer Alfresco sur une machine Ubuntu 10.4 LTS sans succès.
Je croche depuis hier sur ce problème et j'ai recherché / consulté plusieurs posts relatifs à mon problème et malheureusement je n'ai pas trouvé de solution.
Le serveur tomcat 6 est fonctionnel, j'accède à l'interface à travers : http://localhost:8080/manager
Alfresco Web Client reste au statut : fonctionnelle : false malgré plusieurs tentatives de démarrage.
J'ai des erreurs dans le catalina.out que je postes ci-dessous (désolé pour la longueur).

Première erreur statut INFO
1 oct. 2010 10:11:56 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
1 oct. 2010 10:11:57 org.apache.coyote.http11.Http11Protocol init

Erreur sans statut particulier
10:12:37,558 User:System ERROR [web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: 09010000 The store 'avm://sitestore' has a duplicate root node entry.

Puis
GRAVE: Error listenerStart
1 oct. 2010 10:12:37 org.apache.catalina.core.StandardContext start

Et ensuite tout une suite d'erreur au statut GRAVE
GRAVE: Erreur de démarrage du contexte [/alfresco] suite aux erreurs précédentes

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [FileStateReaper] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [Thread-11] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [MessageDispatcher] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread1] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread2] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread3] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread4] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread5] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread6] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread7] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread8] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread9] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [indexThread10] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: A web application appears to have started a thread named [DefaultScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@1416926]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@b1d87}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1bf8a16]) and a value of type [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory.ReferenceCountingReadOnlyIndexReader] (value [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@1007685]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@16551c5]) and a value of type [com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactoryUtil.FactorySettings] (value [com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactoryUtil$FactorySettings@811049]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@154614c]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@bff36c]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@637d6]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@3be05c]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@106f08e]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@9b0985]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@8e14b7]) and a value of type [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory.ReferenceCountingReadOnlyIndexReader] (value [org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory$ReferenceCountingReadOnlyIndexReader@1f22be7]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@2052de]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@20a02d]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@1f3ed7f]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

1 oct. 2010 10:12:37 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

GRAVE: A web application created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@16d51c0]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

Pour finir par
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

J'utilise par défaut dans /etc/default/tomcat6 :
JAVA_HOME=/usr/lib/jvm/java-6-sun
Là je sèche complétement sur la teneur du problème, à noter, c'est important que j'utilise les packages natifs dans ubuntu en passant par synaptic.
Un grand merci pour votre aide.
Jask
2 Replies
Highlighted
Member II

Re: Alfresco 3.2-9 / Ubuntu 10.4

Bonjour,

On dirait que vous n'avez pas assez de mémoire, il faut au minimum 1 Go de Ram pour pouvoir utiliser Alfresco.

Pour simplifier, si vous n'avez pas de contraintes fortes, le plus facile pour installer Alfresco sous GNU/Linux (Ubuntu 10.04), utilisez l'installateur fourni par Alfresco.

Je vous conseille d'installer votre Ubuntu 10.04 avec la partie graphique, puis de le mettre à jour. Ensuite, il ne faut pas installer mysql, il ne faut pas installer Java avec synaptic, aptitude, apt-get, l'installateur inclut tous (1).

Téléchargez le fichier ci-dessous dans votre home en fonction de votre architecture (32, 64) :


cd Téléchargements
chmod u+x alfresco-community-3.4.a-installer-linux-x32.bin
sudo -s
[sudo] password for plevasseur:toto
./alfresco-community-3.4.a-installer-linux-x32.bin

L'installateur démarre, l'installation aussi, par defaut ne rien changer, noter bien les mots de passes que vous allez mettre pour l'utilisatur de la base, et pour l'utilisateur admin d'Alfresco.

Remarque : Le demarrage du serveur est assez long, ne pas s'inquiété.

Voilà, j'expliquerai plus tard comment ne pas utiliser le bundle Alfresco pour la base (Mysql), pour la jvm (Java), etc …

1) http://wiki.alfresco.com/wiki/Download_Community_Edition
Highlighted
Active Member

Re: Alfresco 3.2-9 / Ubuntu 10.4

vous mélangez plusieurs problèmes sans rapport.
le problème qui vous concerne est le suivant :

10:12:37,558 User:System ERROR [web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: 09010000 The store 'avm://sitestore' has a duplicate root node entry. 

Il semblerait que vous avez fait plusieurs tests pas "propres". Je vous suggère de vider la base, le repository, et les indexes lucene, avant de démarrer.
Concernant les erreurs sur le clearThreadLocalMap, elles se produisent à l'arrêt et n'ont pas d'importance si ne vous n'avez pas l'intention de redéployer l'appli à chaud. elle est sans rapport avec le problème qui vous empêche de démarrer.