AnsweredAssumed Answered

CONTENT INTEGRITY ERROR after full reindex

Question asked by jservajean on May 2, 2013
Latest reply on May 13, 2013 by jservajean
Hi, here's a probleme I am facing :
I tried to rebuild all the index using the following config :


index.recovery.mode=FULL
lucene.indexer.batchSize=2000
lucene.indexer.mergeFactor=100
lucene.indexer.minMergeDocs=1000
lucene.indexer.maxMergeDocs=100000


During the rebuild, some errors occured. See the logs :

15:55:19,559  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
15:55:19,746  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
15:55:34,216  WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
15:55:40,810  INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
15:55:40,810  INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
15:55:53,920  INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
15:55:58,217  INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
15:55:58,561 User:System INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Search' subsystem, ID: [Search, managed, lucene]
15:55:59,233 User:System INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Search' subsystem, ID: [Search, managed, lucene] complete
15:56:00,170  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
15:56:00,373  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
15:56:00,373  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
15:56:01,076  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
15:56:01,076  INFO  [org.alfresco.repo.node.index.IndexRecoveryBootstrapBean] Checking/Recovering indexes …
15:56:02,233  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:6f450b42\-14dc\-4232\-8b30\-ccb24a612371
15:56:02,233  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:6f450b42\-14dc\-4232\-8b30\-ccb24a612371                             is
   TX:6f450b42-14dc-4232-8b30-ccb24a612371
15:56:02,858  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:8ae15768\-aeff\-4eda\-bb5e\-b2f432be9545
15:56:02,858  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:8ae15768\-aeff\-4eda\-bb5e\-b2f432be9545                             is
   TX:8ae15768-aeff-4eda-bb5e-b2f432be9545
15:56:03,030  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery started: 173 047 transactions.
15:56:04,686  ERROR [org.alfresco.repo.node.index.AbstractReindexComponent.threads] Reindexer     2 failed with error: null.
15:56:04,686  WARN  [org.alfresco.repo.node.index.AbstractReindexComponent.threads] java.lang.NullPointerException
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocumentsImpl(ADMLuceneIndexerImpl.java:816)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocuments(ADMLuceneIndexerImpl.java:646)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl$4.execute(ADMLuceneIndexerImpl.java:2015)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl$4.execute(ADMLuceneIndexerImpl.java:2011)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerImpl$1.execute(AbstractLuceneIndexerImpl.java:715)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerImpl.doInReadthroughTransaction(AbstractLuceneIndexerImpl.java:702)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.readDocuments(ADMLuceneIndexerImpl.java:2010)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.flushPending(ADMLuceneIndexerImpl.java:1057)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.flush(AbstractLuceneIndexerAndSearcherFactory.java:874)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at $Proxy214.flush(Unknown Source)
   at org.alfresco.repo.search.IndexerComponent.flushPending(IndexerComponent.java:133)
   at org.alfresco.repo.node.index.AbstractReindexComponent$ReindexWorkerRunnable.beforeCommit(AbstractReindexComponent.java:1086)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:747)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:727)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:687)
   at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:927)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:472)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:410)
   at org.alfresco.repo.node.index.AbstractReindexComponent$ReindexWorkerRunnable.run(AbstractReindexComponent.java:1008)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:662)

15:57:04,517  ERROR [org.alfresco.repo.node.index.AbstractReindexComponent.threads] Reindexer    49 failed with error: null.
15:57:04,517  WARN  [org.alfresco.repo.node.index.AbstractReindexComponent.threads] java.lang.NullPointerException

15:58:02,566  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    10 % complete.
15:58:55,303  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    20 % complete.
15:59:49,884  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    30 % complete.
16:02:18,218  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    40 % complete.
16:04:20,146  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    50 % complete.
16:05:05,257  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    60 % complete.
16:05:50,493  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    70 % complete.
16:07:12,169  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    80 % complete.
16:07:57,046  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    90 % complete.
16:09:02,440  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent]    100 % complete.
16:09:05,190  INFO  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery completed.
16:09:05,190  INFO  [org.alfresco.repo.node.index.IndexRecoveryBootstrapBean] Checking/Recovering indexes …
16:09:05,190  INFO  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Rebuilding indexes for 1 AVM Stores
16:09:05,190  INFO  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]     Rebuilding index for sitestore
16:09:05,252  INFO  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]   Reindex   100% complete
16:09:05,252  INFO  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Finished rebuilding indexes for AVM Stores
16:09:05,315  INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: I:\Alfresco\alf_data
16:09:05,330 User:System INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
16:09:05,783 User:System INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
16:09:05,924 User:System INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 13 module(s).
etc…

and alfresco starts fine.

Then I went back to the normal config :

index.recovery.mode=VALIDATE
#index.recovery.mode=FULL
#lucene.indexer.batchSize=2000
#lucene.indexer.mergeFactor=100
#lucene.indexer.minMergeDocs=1000
#lucene.indexer.maxMergeDocs=100000


But then I constantly get the following error, and Alfresco doesn't starts (no way to log in) :


16:33:02,693  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
16:33:02,850  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
16:33:19,632  WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
16:33:27,148  INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
16:33:27,163  INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
16:33:35,382  INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
16:33:39,742  INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
16:33:40,180 User:System INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Search' subsystem, ID: [Search, managed, lucene]
16:33:41,008 User:System INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Search' subsystem, ID: [Search, managed, lucene] complete
16:33:43,602  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
16:33:44,383  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
16:33:44,383  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
16:33:45,586  INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
16:33:45,586  INFO  [org.alfresco.repo.node.index.IndexRecoveryBootstrapBean] Checking/Recovering indexes …
16:33:46,820  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:6f450b42\-14dc\-4232\-8b30\-ccb24a612371
16:33:46,836  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:6f450b42\-14dc\-4232\-8b30\-ccb24a612371                             is
   TX:6f450b42-14dc-4232-8b30-ccb24a612371
16:33:47,024  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:ddae3dff\-7931\-409b\-b33c\-1ef1ad183829
16:33:47,024  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:ddae3dff\-7931\-409b\-b33c\-1ef1ad183829                             is
   TX:ddae3dff-7931-409b-b33c-1ef1ad183829
16:33:47,320  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:c91cdbd5\-ee2d\-41ce\-926a\-da941d65275c
16:33:47,336  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:c91cdbd5\-ee2d\-41ce\-926a\-da941d65275c                             is
   TX:c91cdbd5-ee2d-41ce-926a-da941d65275c
16:33:48,430  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:978dae99\-7ec9\-4028\-ba0c\-8697db7ed977
16:33:48,430  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:978dae99\-7ec9\-4028\-ba0c\-8697db7ed977                             is
   TX:978dae99-7ec9-4028-ba0c-8697db7ed977
16:33:49,821  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:8ae15768\-aeff\-4eda\-bb5e\-b2f432be9545
16:33:49,821  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:8ae15768\-aeff\-4eda\-bb5e\-b2f432be9545                             is
   TX:8ae15768-aeff-4eda-bb5e-b2f432be9545
16:33:49,977  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:3572aab7\-7897\-4286\-962d\-08c1625242b2
16:33:49,977  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:3572aab7\-7897\-4286\-962d\-08c1625242b2                             is
   TX:3572aab7-7897-4286-962d-08c1625242b2
16:33:50,071  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:481d147a\-3aea\-4d7c\-ad37\-adb914976b39
16:33:50,071  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:481d147a\-3aea\-4d7c\-ad37\-adb914976b39                             is
   TX:481d147a-3aea-4d7c-ad37-adb914976b39
16:33:50,149  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:911bef4f\-9b3f\-46a8\-ac05\-4deea735c392
16:33:50,149  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:911bef4f\-9b3f\-46a8\-ac05\-4deea735c392                             is
   TX:911bef4f-9b3f-46a8-ac05-4deea735c392
16:33:50,196  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ID:workspace\://SpacesStore/47c4d54b\-0164\-4448\-aa34\-a9fbb0f27cef
16:33:50,196  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ID:workspace\://SpacesStore/47c4d54b\-0164\-4448\-aa34\-a9fbb0f27cef                             is
   ID:workspace://SpacesStore/47c4d54b-0164-4448-aa34-a9fbb0f27cef
16:33:50,211  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:2240fef6\-bb68\-4155\-88b3\-86a5fcc3566c
16:33:50,211  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:2240fef6\-bb68\-4155\-88b3\-86a5fcc3566c                             is
   TX:2240fef6-bb68-4155-88b3-86a5fcc3566c
16:33:50,274  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ID:workspace\://SpacesStore/9607e611\-b7c3\-4e82\-a127\-7d4e5b99a20e
16:33:50,274  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ID:workspace\://SpacesStore/9607e611\-b7c3\-4e82\-a127\-7d4e5b99a20e                             is
   ID:workspace://SpacesStore/9607e611-b7c3-4e82-a127-7d4e5b99a20e
16:33:50,274  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: TX:0003c508\-f565\-4fdb\-b5c4\-6905bf2fb395
16:33:50,274  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query TX:0003c508\-f565\-4fdb\-b5c4\-6905bf2fb395                             is
   TX:0003c508-f565-4fdb-b5c4-6905bf2fb395
16:33:50,305  WARN  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.
16:33:50,305  INFO  [org.alfresco.repo.node.index.IndexRecoveryBootstrapBean] Checking/Recovering indexes …
16:33:50,696  INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: I:\Alfresco\alf_data
16:33:50,696  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ISROOT:T
16:33:50,696  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ISROOT:T                             is
   ISROOT:T
16:33:50,696  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ISROOT:T
16:33:50,696  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ISROOT:T                             is
   ISROOT:T
16:33:50,711  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ISROOT:T
16:33:50,711  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ISROOT:T                             is
   ISROOT:T
16:33:50,930  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ISROOT:T
16:33:50,930  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ISROOT:T                             is
   ISROOT:T
16:33:50,930  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ISROOT:T
16:33:50,930  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ISROOT:T                             is
   ISROOT:T
16:33:50,946  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ISROOT:T
16:33:50,946  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ISROOT:T                             is
   ISROOT:T
16:33:50,946  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Using Alfresco Lucene Query Parser for query: ISROOT:T
16:33:50,946  DEBUG [org.alfresco.repo.search.impl.lucene.LuceneQueryParser] Query ISROOT:T                             is
   ISROOT:T
16:33:50,961  ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 3 stores.
16:33:50,961  INFO  [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.
16:33:50,961  ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
16:33:50,961  ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 04020000 Ensure that the 'dir.root' property is pointing to the correct data location.
   at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:248)
   at org.alfresco.repo.admin.ConfigurationChecker.access$000(ConfigurationChecker.java:68)
   at org.alfresco.repo.admin.ConfigurationChecker$1.execute(ConfigurationChecker.java:179)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:278)
   at org.alfresco.repo.admin.ConfigurationChecker.onBootstrap(ConfigurationChecker.java:183)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16:34:06,056  INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:34:06,181  INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
16:34:06,181  INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:34:06,181  INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
16:34:12,572  INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 313 Web Scripts (+0 failed), 323 URLs
16:34:12,572  INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
16:34:12,572  INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
16:34:12,915  INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 6712.5317ms)
16:34:12,915  INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:34:12,931  INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
16:34:13,619  INFO  [org.alfresco.web.site.servlet.SSOAuthenticationFilter] SSOAuthenticationFilter initialised.


It's a real issue as the only way to have it start properly again is to rebuild all the indexes with "index.recovery.mode=FULL" at each startup… wich takes a long time and takes me to step one (and the same "[org.alfresco.repo.node.index.AbstractReindexComponent.threads] Reindexer" errors).

I guess my database is somehow corrupted and I'd like to get some tricks on how to tidy it up.

Any clues would really help.

Thanks

Outcomes