cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Applying versionable aspect

konsultex
Confirmed Champ
Confirmed Champ
I have an Alfresco 2.1 installation that I upgraded to 3.2r2 recently. I'm running JBoss 4.2.3 with MySql on Linux FC4. It seems to be working ok but I have some glitches. The most troublesome and the one I set out to fix now is that I can't apply the versionable aspect to any document and I can check out documents that were already versioned with the previous version. My repository is set to not version by default and I choose manually which documents to version using the web client in the document detail page by selecting "make versionable". This fails. I also get a failure if I check out a versioned document.

When I apply the versionable aspect I get this exception in the log:

00:34:24,942 ERROR [org.alfresco.web.ui.common.Utils] Failed to apply the 'versionable' aspect to the document due to system error: 11090066 Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnAddAspectPolicy.onAddAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) in transaction 28ecca45-9057-4b93-b1d7-3b180e994d18                                              org.alfresco.error.AlfrescoRuntimeException: 11090066 Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnAddAspectPolicy.onAddAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) in transaction 28ecca45-9057-4b93-b1d7-3b180e994d18                          at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:201)                  at org.alfresco.repo.policy.TransactionBehaviourQueue.beforeCommit(TransactionBehaviourQueue.java:133)             at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:739)                                                                                        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:719)                                                                                        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:679)                                                                                          at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)                                                                                               at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:835)                                                                                        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:645)                                                                                              at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)                                                                                                     at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)                                                                                            at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:467)            at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:340)                                                                                                                        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:233)                                                                                                                        at org.alfresco.web.bean.content.DocumentDetailsDialog.applyVersionable(DocumentDetailsDialog.java:551)            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.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)                                      at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)                     at javax.faces.component.UICommand.broadcast(UICommand.java:109)                                                   at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)                                         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)                                        at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)               at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)                                  at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)                                       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)                                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                       at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)                       at sun.reflect.GeneratedMethodAccessor584.invoke(Unknown Source)                                                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)                                                                                                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)                                                                                                                          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)                        at $Proxy242.doFilter(Unknown Source)                                                                              at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                       at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:74)                                      at sun.reflect.GeneratedMethodAccessor584.invoke(Unknown Source)                                                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)                                                                                                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)                                                                                                                          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)                        at $Proxy242.doFilter(Unknown Source)                                                                              at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)                              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)                             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)                                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)                                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)                                   at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)                               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)                                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)                                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)                                         at java.lang.Thread.run(Thread.java:619)                                                                   Caused by: java.lang.RuntimeException: Error during run with lock.                                                         at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2291)                        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.<init>(IndexInfo.java:574)                                 at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:364)                           at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.initialise(AbstractLuceneBase.java:106)                 at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.getNoActionIndexer(ADMLuceneIndexerImpl.java:409)                                                                                                                        at org.alfresco.repo.search.impl.lucene.ADMLuceneUnIndexedIndexAndSearcherFactory.createIndexer(ADMLuceneUnIndexedIndexAndSearcherFactory.java:35)                                                                                    at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getThreadLocalIndexer(AbstractLuceneIndexerAndSearcherFactory.java:408)                                                                               at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getIndexer(AbstractLuceneIndexerAndSearcherFactory.java:391)                                                                                          at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getIndexer(AbstractLuceneIndexerAndSearcherFactory.java:90)                                                                                           at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)                                                   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:221)                                                                                                     at $Proxy89.getIndexer(Unknown Source)                                                                             at org.alfresco.repo.search.IndexerComponent.createNode(IndexerComponent.java:72)                                  at org.alfresco.repo.node.index.NodeIndexer.indexCreateNode(NodeIndexer.java:91)                                   at org.alfresco.repo.node.db.DbNodeServiceImpl.createNode(DbNodeServiceImpl.java:344)                              at sun.reflect.GeneratedMethodAccessor1837.invoke(Unknown Source)                                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)                                                                                                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)                                                                                                                          at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)                                                                                         at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)                                                                                                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)                                                                                                                          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)                        at $Proxy65.createNode(Unknown Source)                                                                             at sun.reflect.GeneratedMethodAccessor1837.invoke(Unknown Source)                                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)                                                                                                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)                                                                                                                          at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:110)             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)                                                                                                                          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)                        at $Proxy65.createNode(Unknown Source)                                                                             at org.alfresco.repo.version.Version2ServiceImpl.createVersionHistory(Version2ServiceImpl.java:316)                at org.alfresco.repo.version.Version2ServiceImpl.createVersion(Version2ServiceImpl.java:224)                       at org.alfresco.repo.version.Version2ServiceImpl.createVersion(Version2ServiceImpl.java:129)                       at org.alfresco.repo.version.VersionableAspect.onAddAspect(VersionableAspect.java:260)                             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.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:179)               at $Proxy68.onAddAspect(Unknown Source)                                                                            at sun.reflect.GeneratedMethodAccessor596.invoke(Unknown Source)                                                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:189)                  … 66 more                                                                                                Caused by: java.io.IOException: read past EOF        at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:151)        at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)        at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:68)        at org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:84)        at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:357)        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:306)        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:269)        at org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:100)        at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:653)        at org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:115)        at org.apache.lucene.index.IndexReader.open(IndexReader.java:316)        at org.apache.lucene.index.IndexReader.open(IndexReader.java:227)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.buildReferenceCountingIndexReader(IndexInfo.java:1963)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.access$1200(IndexInfo.java:144)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo$2.doWork(IndexInfo.java:635)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2360)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2280)        … 117 more‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

When I try to check-out a versioned document I get this exception:

00:37:02,298 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: 11090067 Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnAddAspectPolicy.onAddAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) in transaction 7bc6be3c-1f42-4e17-860d-17054de7b89a                                                                              org.alfresco.error.AlfrescoRuntimeException: 11090067 Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnAddAspectPolicy.onAddAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) in transaction 7bc6be3c-1f42-4e17-860d-17054de7b89a                          at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:201)                  at org.alfresco.repo.policy.TransactionBehaviourQueue.beforeCommit(TransactionBehaviourQueue.java:133)             at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:739)                                                                                        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:719)                                                                                        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:679)                                                                                          at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)                                                                                               at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:835)                                                                                        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:645)                                                                                              at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)                                                                                                     at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)                                                                                            at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:467)            at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:340)                                                                                                                        at org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.java:130)                                     at org.alfresco.web.bean.dialog.DialogManager.finish(DialogManager.java:534)                                       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.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)                                      at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)                     at javax.faces.component.UICommand.broadcast(UICommand.java:109)                                                   at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)                                         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)                                        at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)               at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)                                  at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)                                       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)                                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                       at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)                       at sun.reflect.GeneratedMethodAccessor584.invoke(Unknown Source)                                                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)                                                                                                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)                                                                                                                          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)                        at $Proxy242.doFilter(Unknown Source)                                                                              at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                       at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:74)                                      at sun.reflect.GeneratedMethodAccessor584.invoke(Unknown Source)                                                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)                                                                                                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)                                                                                                                          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)                        at $Proxy242.doFilter(Unknown Source)                                                                              at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)                              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)                             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)                                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)                                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)                                   at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)                               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)                                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)                                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)                                         at java.lang.Thread.run(Thread.java:619)                                                                   Caused by: java.lang.RuntimeException: Error during run with lock.                                                         at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2291)                        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.<init>(IndexInfo.java:574)                                 at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:364)                           at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.initialise(AbstractLuceneBase.java:106)                 at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.getNoActionIndexer(ADMLuceneIndexerImpl.java:409)                                                                                                                        at org.alfresco.repo.search.impl.lucene.ADMLuceneUnIndexedIndexAndSearcherFactory.createIndexer(ADMLuceneUnIndexedIndexAndSearcherFactory.java:35)                                                                                    at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getThreadLocalIndexer(AbstractLuceneIndexerAndSearcherFactory.java:408)                                                                               at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getIndexer(AbstractLuceneIndexerAndSearcherFactory.java:391)                                                                                          at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getIndexer(AbstractLuceneIndexerAndSearcherFactory.java:90)                                                                                           at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)                                                   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:221)                                                                                                     at $Proxy89.getIndexer(Unknown Source)                                                                             at org.alfresco.repo.search.IndexerComponent.createNode(IndexerComponent.java:72)                                  at org.alfresco.repo.node.index.NodeIndexer.indexCreateNode(NodeIndexer.java:91)                                   at org.alfresco.repo.node.db.DbNodeServiceImpl.createNode(DbNodeServiceImpl.java:344)                              at sun.reflect.GeneratedMethodAccessor1837.invoke(Unknown Source)                                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)                                                                                                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)                                                                                                                          at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)                                                                                         at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)                                                                                                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)                                                                                                                          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)                        at $Proxy65.createNode(Unknown Source)                                                                             at sun.reflect.GeneratedMethodAccessor1837.invoke(Unknown Source)                                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)                                                                                                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)                                                                                                                          at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:110)             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)                                                                                                                          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)                        at $Proxy65.createNode(Unknown Source)                                                                             at org.alfresco.repo.version.Version2ServiceImpl.createVersionHistory(Version2ServiceImpl.java:316)                at org.alfresco.repo.version.Version2ServiceImpl.createVersion(Version2ServiceImpl.java:224)                       at org.alfresco.repo.version.Version2ServiceImpl.createVersion(Version2ServiceImpl.java:129)                       at org.alfresco.repo.version.VersionableAspect.onAddAspect(VersionableAspect.java:260)                             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.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:179)               at $Proxy68.onAddAspect(Unknown Source)                                                                            at sun.reflect.GeneratedMethodAccessor596.invoke(Unknown Source)                                                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                           at java.lang.reflect.Method.invoke(Method.java:597)                                                                at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:189)                  … 66 more                                                                                                Caused by: java.io.IOException: read past EOF        at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:151)        at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)        at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:68)        at org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:84)        at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:357)        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:306)        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:269)        at org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:100)        at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:653)        at org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:115)        at org.apache.lucene.index.IndexReader.open(IndexReader.java:316)        at org.apache.lucene.index.IndexReader.open(IndexReader.java:227)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.buildReferenceCountingIndexReader(IndexInfo.java:1963)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.access$1200(IndexInfo.java:144)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo$2.doWork(IndexInfo.java:635)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2360)        at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2280)        … 117 more‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

I see that they both have a message about error during run with lock. This happens to be one of the errors I get during server startup. I suppose that they're related.

I have an untouched war file (except for the changes needed to solve a bug for upgrading from 3.0 to 3.2) and I start Alfresco with these custom files:

custom-reposotory-contex.xml
<?xml version='1.0' encoding='UTF-8'?>                     <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'><!–       This shows the common minimum configuration overrides.       By default, the content and indexes are located at a relative location, which should only       be used when doing a quick preview of the Alfresco server.                               –>                                                                                             <beans>                                                                                                                                                                                             <!– overriding to point to custom properties –>                                               <bean id="repository-properties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">                                                                                                                          <property name="ignoreUnresolvablePlaceholders">                                                                       <value>true</value>                                                                                            </property>                                                                                                        <property name="locations">                                                                                            <list>                                                                                                                 <value>classpath:alfresco/repository.properties</value>                                                            <value>classpath:alfresco/version.properties</value>                <value>classpath:alfresco/domain/transaction.properties</value>                <!– Override basic repository properties –>                <value>classpath:alfresco/extension/alfresco-global.properties</value>            </list>        </property>    </bean>    <bean id="hibernateConfigProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">        <property name="locations">            <list>                <value>classpath:alfresco/domain/hibernate-cfg.properties</value>                <!– Override hibernate dialect –>                <value>classpath:alfresco/extension/alfresco-global.properties</value>            </list>        </property>    </bean>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

alfresco-global.properties

dir.root= /u02/alf_data                        db.name=alfresco                       db.username=alfresco                   db.password=mypassword             db.host=mysqlhost                 db.port=mysqlport                   db.pool.initial=10                     db.pool.max=20                         ooo.exe=/usr/lib/openoffice.org2.0/program/soffice                          img.root=/usr                                                        swf.exe=/usr/local/bin/pdf2swf                      db.driver=org.gjt.mm.mysql.Driverdb.url=jdbc:mysql://${db.host}:${db.port}/${db.name}hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect                               index.recovery.mode=FULL                                    mail.host=127.0.0.1           mail.port=25                  mail.username=                mail.password=                mail.encoding=UTF-8           mail.from.default=alfresco-noreply@konsultex.com.brmail.smtp.auth=false                                                      email.inbound.enabled=false                                                                           email.server.enabled=falseemail.server.port=25      email.server.domain=konsultex.com.bremail.inbound.unknownUser=anonymous ftp.enabled=true   ftp.port=2121      ftp.dataPorts.rangeFrom=62000ftp.dataPorts.rangeTo=64000                                    email.server.allowed.senders=X .*\@konsultex\.com\.br                imap.server.enabled=falseimap.server.port=1433    imap.server.host=localhostdb.schema.update=true                                                               user.name.caseSensitive=false‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

file-servers-custom.xml
<alfresco-config area="file-servers">                                       <config evaluator="string-compare" condition="CIFS Server">          <serverEnable enabled="true"/>                            <host name="${localname}_A"/>                                 <comment>Alfresco CIFS Server</comment>                       <!– Set to the broadcast mask for the subnet –>      <broadcast>255.255.255.255</broadcast>                 <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>      <tcpipSMB platforms="linux,solaris,macosx"/>                                    <netBIOSSMB platforms="linux,solaris,macosx"/>                                       <!– Can be mapped to non-privileged ports, then use firewall rules to forward                    requests from the standard ports –>                                           <!–     –>                                                                         <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>                                 <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>                                                                                                                 <hostAnnounce interval="5"/>                                                                               <!– Use Win32 NetBIOS interface on Windows –>      <Win32NetBIOS/>                                      <Win32Announce interval="5"/>                                                 <sessionDebug flags="Negotiate,Socket"/>   </config>                                     <config evaluator="string-compare" condition="FTP Server">          <serverEnable enabled="true"/>                        </config>                                                                                                                                       <config evaluator="string-compare" condition="NFS Server">                     <serverEnable enabled="false"/>                                  </config>                                                               <config evaluator="string-compare" condition="Filesystems">          <filesystems>                                                                                                                      <!– Alfresco repository access shared filesystem –>         <filesystem name="Alfresco">                                             <store>workspace://SpacesStore</store>                                <rootPath>/app:company_home</rootPath>                                            <!– Add a URL file to each folder that links back to the web client –>                        <urlFile>                                                                              <filename>__AlfrescoClient.url</filename>                                                       <webpath>http://${localname}:8080/alfresco/</webpath>                                        </urlFile>                                                                                                  <!– Mark locked files as offline –>                     <offlineFiles/>                                                                                                    </filesystem>                                                                                                                                                     <!– AVM virtualization view of all stores/versions for WCM –>         <avmfilesystem name="AVM">                                                         <virtualView/>                                                               </avmfilesystem>                                                                                                                                             </filesystems>                                                               </config>                                                                       <config evaluator="string-compare" condition="Filesystem Security">      <authenticator type="enterprise">                                     </authenticator>                                                   </config>   <config evaluator="string-compare" condition="FTP Server">     <serverEnable enabled="true"/>     <port>2121</port>     <dataPorts rangeFrom="62000" rangeTo="64000"/>   </config></alfresco-config>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

web-client-config-custom.xml
<alfresco-config>                                            <plug-ins>      <evaluators>         <evaluator id="node-type" class="org.alfresco.web.config.NodeTypeEvaluator" />         <evaluator id="aspect-name" class="org.alfresco.web.config.AspectEvaluator" />      </evaluators>                                                                          <element-readers>                                                                         <element-reader element-name="client" class="org.alfresco.web.config.ClientElementReader"/>         <element-reader element-name="property-sheet" class="org.alfresco.web.config.PropertySheetElementReader"/>         <element-reader element-name="navigation" class="org.alfresco.web.config.NavigationElementReader" />               <element-reader element-name="languages" class="org.alfresco.web.config.LanguagesElementReader" />                 <element-reader element-name="command-servlet" class="org.alfresco.web.config.CommandServletElementReader" />                                                                                                                         <element-reader element-name="advanced-search" class="org.alfresco.web.config.AdvancedSearchElementReader" />                                                                                                                         <element-reader element-name="views" class="org.alfresco.web.config.ViewsElementReader" />                         <element-reader element-name="actions" class="org.alfresco.web.config.ActionsElementReader" />                     <element-reader element-name="dialogs" class="org.alfresco.web.config.DialogsElementReader"/>                      <element-reader element-name="wizards" class="org.alfresco.web.config.WizardsElementReader"/>                      <element-reader element-name="dashboards" class="org.alfresco.web.config.DashboardsElementReader"/>             </element-readers>                                                                                              </plug-ins>                                                                                                                                                                                                                           <config>                                                                                                                                                                                                                <client>                                                                                                              <!– the error page the client will use –>                                                                        <error-page>/jsp/error.jsp</error-page>                                                                                                                                                                                               <!– the login page the client will use –>                                                                        <login-page>/jsp/login.jsp</login-page>                                                                                                                                                                                               <!– the maximum number of items to show in the recent spaces shelf component –>                                  <recent-spaces-items>15</recent-spaces-items>                                                                                                                                                                                         <!– Shelf component default visibility, set to false to hide the shelf by default –>                             <shelf-visible>true</shelf-visible>                                                                                                                                                                                                   <!– the minimum number of characters required for a valid search string –>                                       <search-minimum>3</search-minimum>                                                                                                                                                                                                    <!– set this value to true to enable AND text terms for simple/advanced search by default –>                     <search-and-terms>true</search-and-terms>                                                                                                                                                                                             <!– Limit search results. -1 for unlimited. –>                                                                   <search-max-results>-1</search-max-results>                                                                                                                                                                                           <!– Limit search results within selectors, -1 for unlimited. –>                                                  <selectors-search-max-results>500</selectors-search-max-results>                                                                                                                                                                      <!– The default permissions to apply to a new users Home Space when first created –>                             <!– this permission is for other users attempting to access that Home Space –>                                   <!– generally set to "Consumer" or empty value to indicate a private hidden space. –>                            <!– see org.alfresco.service.cmr.security.PermissionService for allowed values –>                                <home-space-permission></home-space-permission>                                                                                                                                                                                       <!– The default location to display when the browse screen is first shown –>                                     <!– This value should be one of 'myalfresco', 'userhome', 'companyhome' or 'guesthome' –>                        <initial-location>companyhome</initial-location>                                                                                                                                                                                      <!– the URL to the client Help file –>                                                                           <help-url>http://www.alfresco.org/help/webclient</help-url>                                                                                                                                                                           <!– the type of edit link to use, NOTE: inline editable will always take precedence –>                           <!– can be: http|webdav|cifs –>                                                                                  <edit-link-type>http</edit-link-type>                                                                                                                                                                                                 <!– the from address to use when sending emails from the client –>                                               <from-email-address>alfresco@konsultex.com.br</from-email-address>                                              </client>                                                                                                       </config>                                                                                                          <config evaluator="string-compare" condition="Languages">      <!– the list of available language files –>               <languages>                                                    <language locale="pt_BR">Portuguese</language>              <language locale="en_US">English</language>                 <language locale="es_ES">Spanish</language>              </languages>                                             </config>                                                                                                               <config evaluator="string-compare" condition="Views">          <!– the views available in the client –>                  <views>                                                        <view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$DetailsViewRenderer</view-impl>         <view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$IconViewRenderer</view-impl>            <view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$ListViewRenderer</view-impl>            <view-impl>org.alfresco.web.bean.forums.ForumsBean$TopicBubbleViewRenderer</view-impl>                                                                                                                                    <!– default values for the views available in the client –>                                                <view-defaults>                                                                                                 <browse>                                                                                                        <!– allowable values: list|details|icons –>                                                                <view>details</view>                                                                                         <sort-column>modified</sort-column>                                                                          <!– allowable values: ascending|descending –>                                                              <sort-direction>descending</sort-direction>                                                                  <page-size>                                                                                                     <list>50</list>                                                                                              <details>50</details>                                                                                        <icons>50</icons>                                                                                         </page-size>                                                                                              </browse>                                                                                                    <forums>                                                                                                        <!– allowable values: list|details|icons –>                                                                <view>list</view>                                                                                            <page-size>                                                                                                     <list>20</list>                                                                                              <details>20</details>                                                                                        <icons>20</icons>                                                                                         </page-size>                                                                                              </forums>                                                                                                    <forum>                                                                                                         <!– allowable values: details –>                                                                           <view>details</view>                                                                                         <page-size>                                                                                                     <details>20</details>                                                                                     </page-size>                                                                                              </forum>                                                                                                     <topic>                                                                                                         <!– allowable values: details|bubble –>                                                                    <view>bubble</view>                                                                                          <sort-column>created</sort-column>                                                                           <!– allowable values: ascending|descending –>                                                              <sort-direction>descending</sort-direction>                                                                  <page-size>                                                                                                     <bubble>5</bubble>                                                                                           <details>20</details>                                                                                     </page-size>                                                                                              </topic>                                                                                                  </view-defaults>                                                                                          </views>                                                                                                  </config>                                                                                                                                                                                                                 <config evaluator="string-compare" condition="Node Event Listeners">                                            <!– Managed beans that wish to be notified of Node events from the BrowseBean –>                           <!– Example - bean must implement org.alfresco.web.bean.NodeEventListener                                   <node-event-listeners>                                                                                          <listener>ForumsBean</listener>                                                                           </node-event-listeners> –>                                                                               </config>                                                                                                                                                                                                                 <config evaluator="string-compare" condition="Command Servlet">                                                 <!– The list of registered servlet command processors –>                                                   <!– Command processors implement org.alfresco.web.app.servlet.command.CommandProcessor –>                  <!– They register a class impl against a unique name. All calls to the command servlet –>                  <!– which match the name are forwared to the class instance –>                                             <command-servlet>                                                                                               <command-processor name="workflow" class="org.alfresco.web.app.servlet.command.WorkflowCommandProcessor" />                                                                                                                           <command-processor name="task" class="org.alfresco.web.app.servlet.command.TaskCommandProcessor" />                <command-processor name="script" class="org.alfresco.web.app.servlet.command.ScriptCommandProcessor" />         </command-servlet>                                                                                              </config>                                                                                                                                                                                                                             <config evaluator="string-compare" condition="Advanced Search">                                                       <!– advanced search custom attribute config –>                                                                   <!– see http://wiki.alfresco.com/wiki/Advanced_Search_Custom_Attributes –>                                       <advanced-search>                                                                                                     <!– type constraint drop-down –>                                                                                 <content-types>                                                                                                       <!– cm:content type is implicit in this list –>                                                                  <!– types must extend cm:content for display in the Alfresco web-client –>                                       <type name="fm:post" />                                                                                         </content-types>                                                                                                   <folder-types>                                                                                                        <!– cm:folder type is implicit in this list –>                                                                   <!– types must extend cm:folder for display in the Alfresco web-client –>                                        <type name="fm:forums" />                                                                                       </folder-types>                                                                                                 </advanced-search>                                                                                              </config>                                                                                                                                                                                                                             <config evaluator="string-compare" condition="Dashboards">                                                            <!– Dashboard layouts and available dashlets for the My Alfresco pages –>                                        <dashboards>                                                                                                          <layouts>                                                                                                             <!– the mandatory "default" layout - will be used for all users initially –>                                     <layout id="default" columns="1" column-length="5" image="/images/icons/layout_single_column.gif"                        label-id="layout_single_label" description-id="layout_single_desc"                                                 jsp="/jsp/dashboards/layouts/single-column.jsp" />                                                           <layout id="narrow-right-2column" columns="2" column-length="4" image="/images/icons/layout_narrow_right_2column.gif"                                                                                                                       label-id="layout_narrow_right_label" description-id="layout_narrow_right_desc"                                     jsp="/jsp/dashboards/layouts/narrow-right-2column.jsp" />                                                    <layout id="narrow-left-2column" columns="2" column-length="4" image="/images/icons/layout_narrow_left_2column.gif"                                                                                                                         label-id="layout_narrow_left_label" description-id="layout_narrow_left_desc"                                       jsp="/jsp/dashboards/layouts/narrow-left-2column.jsp" />                                                     <layout id="three-column" columns="3" column-length="4" image="/images/icons/layout_three_column.gif"                    label-id="layout_three_column_label" description-id="layout_three_column_desc"                                     jsp="/jsp/dashboards/layouts/three-column.jsp" />                                                         </layouts>                                                                                                         <dashlets>                                                                                                            <!– this is the default dashlet shown in the default layout initially –>                                         <!– the default dashlet must have the id of 'getting-started' –>                                                 <dashlet id="getting-started" label-id="dashlet_gettingstarted_label"                                                    description-id="dashlet_gettingstarted_desc"                                                                       jsp="/jsp/dashboards/dashlets/getting-started.jsp" allow-narrow="false" />                                   <!– this dashlet 'tasks-todo' is also shown by default for all users –>                                          <dashlet id="tasks-todo" label-id="my_tasks_todo_title" description-id="my_tasks_todo_desc"                              jsp="/jsp/workflow/tasks-todo-dashlet.jsp" allow-narrow="false" />                                           <dashlet id="tasks-completed" label-id="my_tasks_completed_title" description-id="my_tasks_completed_desc"                                                                                                                                  jsp="/jsp/workflow/tasks-completed-dashlet.jsp" allow-narrow="false" />                                      <dashlet id="my-docs-template" label-id="dashlet_mydocuments"                                                            description-id="dashlet_mydocuments_desc"                                                                          jsp="/jsp/dashboards/dashlets/my-docs.jsp" allow-narrow="true" />                                            <dashlet id="content-checkedout" label-id="dashlet_checkedoutdocs"                                                       description-id="dashlet_checkedoutdocs_desc"                                                                       jsp="/jsp/dashboards/dashlets/checkedout-docs.jsp" allow-narrow="false" />                                   <dashlet id="my-images" label-id="dashlet_myimages"                                                                      description-id="dashlet_myimages_desc"                                                                             jsp="/jsp/dashboards/dashlets/my-images.jsp" allow-narrow="false" />                                      </dashlets>                                                                                                        <!– set true allow the Guest user to configure the dashboard view - false by default –>                          <allow-guest-config>false</allow-guest-config>                                                                  </dashboards>                                                                                                   </config>                                                                                                                                                                                                                             <config evaluator="string-compare" condition="Space Wizards">                                                         <!– The list of custom folder types to show in the advanced space wizard –>                                      <folder-types>                                                                                                        <type name="fm:forums" icon="/images/icons/forums.gif" description-id="forums_desc" />                          </folder-types>                                                                                                 </config>                                                                                                                                                                                                                             <config evaluator="string-compare" condition="Content Wizards">                                                       <!– The list of custom content types to show in the content wizards –>                                           <content-types>                                                                                                    </content-types>                                                                                                                                                                                                                      <!– The list of mime types that can be created inline –>                                                         <create-mime-types>                                                                                                   <mime-type name="text/html" />                                                                                     <mime-type name="text/plain" />                                                                                 </create-mime-types>                                                                                                                                                                                                                  <!– Controls the message regarding property editing after the content is created –>                              <other-properties user-choice-visible="true" user-choice-default="true" />                                      </config>                                                                                                                                                                                                                             <config evaluator="string-compare" condition="Action Wizards">                                                        <!– The list of types shown in the is-subtype condition –>                                                       <subtypes>                                                                                                            <type name="folder" display-label-id="space"/>                                                                     <type name="content"/>                                                                                          </subtypes>                                                                                                        <!– The list of content and/or folder types shown in the specialise-type action –>                               <specialise-types>                                                                                                 </specialise-types>                                                                                                                                                                                                                   <!– The list of aspects to show in the add/remove features action –>                                             <!– and the has-aspect condition –>                                                                              <aspects>                                                                                                             <aspect name="generalclassifiable"/>                                                                               <aspect name="complianceable"/>                                                                                    <aspect name="dublincore"/>                                                                                        <aspect name="effectivity"/>                                                                                       <aspect name="summarizable"/>                                                                                      <aspect name="versionable"/>                                                                                       <aspect name="templatable"/>                                                                                       <aspect name="translatable"/>                                                                                      <aspect name="localizable"/>                                                                                       <aspect name="emailed"/>                                                                                        </aspects>                                                                                                         <!– List of aspects to only show in the add features action –>                                                   <aspects-add>                                                                                                      </aspects-add>                                                                                                     <!– List of aspects to only show in the remove features action –>                                                <aspects-remove>                                                                                                   </aspects-remove>                                                                                                  <!– List of aspects to only show in the has aspect condition –>                                                  <aspects-test>                                                                                                     </aspects-test>                                                                                                    <!– The list of transformers to show in the transform actions –>      <transformers>                                                             <transformer name="application/vnd.oasis.opendocument.text"/>           <transformer name="application/vnd.oasis.opendocument.presentation"/>         <transformer name="application/vnd.oasis.opendocument.spreadsheet"/>          <transformer name="application/rtf"/>                                         <transformer name="text/html"/>                                               <transformer name="application/pdf"/>                                         <transformer name="text/plain"/>                                              <transformer name="text/xml"/>                                                <transformer name="application/x-shockwave-flash"/>                           <transformer name="image/gif"/>                                               <transformer name="image/jpeg"/>                                              <transformer name="application/msword"/>                                      <transformer name="application/vnd.excel"/>                                   <transformer name="application/vnd.powerpoint"/>                           </transformers>                                                               <image-transformers>                                                             <transformer name="image/gif"/>                                               <transformer name="image/jpeg"/>                                              <transformer name="image/png"/>                                            </image-transformers>                                                         <!– The classes used to handle actions –>      <action-handlers>                                   <handler name="add-features" class="org.alfresco.web.bean.actions.handlers.AddFeaturesHandler" />         <handler name="check-in" class="org.alfresco.web.bean.actions.handlers.CheckInHandler" />                 <handler name="check-out" class="org.alfresco.web.bean.actions.handlers.CheckOutHandler" />               <handler name="copy" class="org.alfresco.web.bean.actions.handlers.CopyHandler" />                        <handler name="import" class="org.alfresco.web.bean.actions.handlers.ImportHandler" />                    <handler name="link-category" class="org.alfresco.web.bean.actions.handlers.LinkCategoryHandler" />         <handler name="mail" class="org.alfresco.web.bean.actions.handlers.MailHandler" />                          <handler name="move" class="org.alfresco.web.bean.actions.handlers.MoveHandler" />                          <handler name="remove-features" class="org.alfresco.web.bean.actions.handlers.RemoveFeaturesHandler" />         <handler name="script" class="org.alfresco.web.bean.actions.handlers.ScriptHandler" />                          <handler name="simple-workflow" class="org.alfresco.web.bean.actions.handlers.SimpleWorkflowHandler" />         <handler name="specialise-type" class="org.alfresco.web.bean.actions.handlers.SpecialiseTypeHandler" />         <handler name="transform" class="org.alfresco.web.bean.actions.handlers.TransformHandler" />                    <handler name="transform-image" class="org.alfresco.web.bean.actions.handlers.TransformImageHandler" />      </action-handlers>                                                                                              <!– The classes used to handle conditions –>      <condition-handlers>                                   <handler name="compare-mime-type" class="org.alfresco.web.bean.rules.handlers.CompareMimeTypeHandler" />         <handler name="compare-property-value" class="org.alfresco.web.bean.rules.handlers.PropertyValueHandler" />                                                                                                                           <handler name="has-aspect" class="org.alfresco.web.bean.rules.handlers.HasAspectHandler" />                        <handler name="in-category" class="org.alfresco.web.bean.rules.handlers.InCategoryHandler" />                      <handler name="is-subtype" class="org.alfresco.web.bean.rules.handlers.IsSubTypeHandler" />                     </condition-handlers>                                                                                           </config>                                                                                                                                                                       <config evaluator="string-compare" condition="fm:forums icons">      <icons>                                                              <icon name="forums" path="/images/icons/forums.gif" />      </icons>   </config>   <config evaluator="string-compare" condition="fm:forum icons">      <icons>         <icon name="forum" path="/images/icons/forum.gif" />      </icons>   </config>   <config evaluator="string-compare" condition="fm:topic icons">      <icons>         <icon name="topic" path="/images/icons/topic.gif" />         <icon name="topic_exclamation" path="/images/icons/topic_exclamation.gif" />         <icon name="topic_question" path="/images/icons/topic_question.gif" />      </icons>   </config></alfresco-config>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

The log shows these errors during startup:
2009-12-09 01:07:14,399 INFO  [STDOUT] 01:07:14,398 User:System INFO  [node.index.FullIndexRecoveryComponent]   80 % complete.                                                                                                        2009-12-09 01:07:24,725 INFO  [STDOUT] 01:07:24,719  ERROR [index.AbstractReindexComponent.threads] Reindexer    17 failed with error: Error during run with lock..                                                                   2009-12-09 01:07:24,749 INFO  [STDOUT] 01:07:24,727  ERROR [index.AbstractReindexComponent.threads] Reindexer    18 failed with error: Error during run with lock..                                                                   2009-12-09 01:07:24,750 INFO  [STDOUT] 01:07:24,750  ERROR [index.AbstractReindexComponent.threads] Reindexer    19 failed with error: Error during run with lock..                                                                   2009-12-09 01:07:24,751 INFO  [STDOUT] 01:07:24,751  ERROR [index.AbstractReindexComponent.threads] Reindexer    20 failed with error: Error during run with lock..                                                                   2009-12-09 01:07:25,522 INFO  [STDOUT] 01:07:25,521 User:System INFO  [node.index.FullIndexRecoveryComponent]   90 % complete.                                                                                                        2009-12-09 01:07:25,540 INFO  [STDOUT] 01:07:25,540 User:System INFO  [node.index.FullIndexRecoveryComponent]   100 % complete.                                                                                                       2009-12-09 01:07:25,698 INFO  [STDOUT] 01:07:25,698  ERROR [index.AbstractReindexComponent.threads] Reindexer    21 failed with error: Error during run with lock..                                                                   2009-12-09 01:07:27,653 INFO  [STDOUT] 01:07:27,653 User:System INFO  [node.index.FullIndexRecoveryComponent] Index recovery completed.                                      …..and ath the end:01:07:36,108 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (r 2384) schema 3003 - Originally installed version 1.4.0 (build-105) schema 2101:07:49,547 ERROR [org.alfresco.repo.content.transform.PoiHssfContentTransformer] org.apache.poi.hssf.record.RecordFormatException: Unable to construct record instance01:07:50,226 ERROR [org.alfresco.repo.content.transform.PoiHssfContentTransformer] org.apache.poi.hssf.record.RecordFormatException: Unable to construct record instance‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍


Has anybody run into this problem? Any ideas of what to check? Any idea of what causes the " Error during run with lock" problem?

Thanks.
1 REPLY 1

konsultex
Confirmed Champ
Confirmed Champ
I finally solved this problem by stopping Alfresco, making a complete backup, removing the content of the lucene-indexes directory and restarting. After this everything works fine again. My guess is that sometime during my version migration and tests I backed up the system while Alfresco was running and had corrupt indexes. So removing the lucene-indexes and restarting forced Alfresco to rebuild the indexes based on backup-lucene-indexes.

I'm just mentioning this in case it can help somebody with this or a similar problem. Alfresco is very sensitive to repository and database information so a lot of care needs to be taken with the backups. It's very important to read the information here:

http://wiki.alfresco.com/wiki/Backup_and_Restore

Pay close attention to the hot backup procedure.