AnsweredAssumed Answered

[RESOLU] Alfresco 2.1 Redhat 5 PLANTAGE EN PRODUCTION

Question asked by bessong on Jul 9, 2008
Latest reply on Mar 30, 2009 by zomurn
Bonjour à tous,

Il y a 2 jours, au retour de we… Alfresco est très lent, CIFS tombe en timeout… On décide de l'arrêter et le relancer… de nombreuses erreurs apparaissent. Nous cherchons dans la documentation et finalement, on décide de passer en recovery d'index FULL.

Il met 36 heures et arrivé à 60%, il plante :

19:05:36,003 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
19:05:40,297 INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
19:05:42,163 INFO  [domain.schema.SchemaBootstrap] Aucune modification na été apportée au schéma.
19:05:43,428 INFO  [node.index.FullIndexRecoveryComponent] Récupération de lindex débutée : {0} transactions.
19:57:49,572 INFO  [node.index.FullIndexRecoveryComponent]      10 % achevé.
22:18:11,567 INFO  [node.index.FullIndexRecoveryComponent]      20 % achevé.
01:49:50,810 INFO  [node.index.FullIndexRecoveryComponent]      30 % achevé.
06:15:34,485 INFO  [node.index.FullIndexRecoveryComponent]      40 % achevé.
11:22:11,606 INFO  [node.index.FullIndexRecoveryComponent]      50 % achevé.
16:01:36,610 INFO  [node.index.FullIndexRecoveryComponent]      60 % achevé.
05:06:18,249 ERROR [quartz.core.JobRunShell] Job DEFAULT.ldapGroupJobDetail threw an unhandled Exception:
org.alfresco.repo.importer.ExportSourceImporterException: Failed to import
        at org.alfresco.repo.importer.ExportSourceImporter.doImport(ExportSourceImporter.java:214)
        at org.alfresco.repo.importer.ImporterJob.execute(ImporterJob.java:44)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 26; column 29 due to error: Object of class [org.alfresco.repo.domain.hibernate.NodeImpl] with identifier [1701289]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.alfresco.repo.domain.hibernate.NodeImpl#1701289]
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:190)
        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:360)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:224)
        at org.alfresco.repo.importer.ExportSourceImporter.doImport(ExportSourceImporter.java:182)
        … 3 more
Caused by: org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [org.alfresco.repo.domain.hibernate.NodeImpl] with identifier [1701289]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.alfresco.repo.domain.hibernate.NodeImpl#1701289]


Là je viens de commenter mes batchs ldap, car je pense que le plantage à 60% est dû à ce script… Mais je n'en suis vraiment pas sûr… Si l'un de vous a une idée…

Outcomes