-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 4.2.2
-
Fix Version/s: 4.2.3
-
Component/s: Repository
-
Labels:
-
Environment:Enterprise v4.2.2 (r65747-b256) schema 6,056 and above.
RHEL v6.4 x64, Oracle v11.2.0.3.0, ojdbc6.jar, JBOSS v6.2, Alfresco + OpenLDAP, Solr / Lucene, Clustering Schema 2.
-
Bug Priority:
-
Build Location:
Steps to reproduce (for cluster):
- Install Alfresco in cluster using the 2nd clustering schema;
- Start the 1st node (please, check the attached logs in the jboss-node1.log
);
- Start the 2nd node.
Observed result:
Alfresco is started successfully on both nodes, but the following errors occurs during the startup of the 2nd node (please, see the logs in the attached jboss-node2.log, lines 379 - 426):
[0m[0m13:34:08,709 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] (ServerService Thread Pool -- 57) Startup of 'Replication' subsystem, ID: [Replication, default] complete [0m[31m13:38:16,498 ERROR [org.quartz.core.JobRunShell] (DefaultScheduler_Worker-10) Job DEFAULT.onPremiseSyncPullJobDetail threw an unhandled Exception: : org.alfresco.util.LockHelper$LockTryException: Failed to get lock java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock@38631512[Read locks = 0] in 1000ms. at org.alfresco.util.LockHelper.tryLock(LockHelper.java:68) [alfresco-core-4.2.2.jar:] at org.alfresco.repo.dictionary.DictionaryDAOImpl.getDictionaryRegistry(DictionaryDAOImpl.java:1044) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.DictionaryDAOImpl.getDictionaryRegistry(DictionaryDAOImpl.java:1030) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.DictionaryDAOImpl.init(DictionaryDAOImpl.java:151) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.NamespaceDAOImpl.getNamespaceRegistry(NamespaceDAOImpl.java:400) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.NamespaceDAOImpl.getPrefixesCtx(NamespaceDAOImpl.java:563) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.NamespaceDAOImpl.getPrefixesCtx(NamespaceDAOImpl.java:550) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.NamespaceDAOImpl.getNamespaceURI(NamespaceDAOImpl.java:300) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.DictionaryNamespaceComponent.getNamespaceURI(DictionaryNamespaceComponent.java:73) [alfresco-data-model-4.2.2.jar:] at org.alfresco.service.namespace.QName.createQName(QName.java:99) [alfresco-data-model-4.2.2.jar:] at org.alfresco.service.namespace.QName.createQName(QName.java:124) [alfresco-data-model-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncSetDefinitionStorage.getOrCreateSyncSetDefinitionContainer(SyncSetDefinitionStorage.java:391) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncSetDefinitionStorage.hasSyncSetDefintions(SyncSetDefinitionStorage.java:253) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncAdminServiceImpl.hasSyncSetDefintions(SyncAdminServiceImpl.java:598) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$11.execute(SyncTrackerComponent.java:1177) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$11.execute(SyncTrackerComponent.java:1140) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450) [alfresco-repository-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncTrackerComponent.pull(SyncTrackerComponent.java:1139) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.OnPremiseSyncPullJob.execute(OnPremiseSyncPullJob.java:36) [alfresco-enterprise-repo-4.2.2.jar:] at org.quartz.core.JobRunShell.run(JobRunShell.java:216) [quartz-1.8.3-patched.jar:] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563) [quartz-1.8.3-patched.jar:] [0m[31m13:38:16,504 ERROR [org.quartz.core.ErrorLogger] (DefaultScheduler_Worker-10) Job (DEFAULT.onPremiseSyncPullJobDetail threw an exception.: org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.util.LockHelper$LockTryException: Failed to get lock java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock@38631512[Read locks = 0] in 1000ms.] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) [quartz-1.8.3-patched.jar:] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563) [quartz-1.8.3-patched.jar:] Caused by: org.alfresco.util.LockHelper$LockTryException: Failed to get lock java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock@38631512[Read locks = 0] in 1000ms. at org.alfresco.util.LockHelper.tryLock(LockHelper.java:68) [alfresco-core-4.2.2.jar:] at org.alfresco.repo.dictionary.DictionaryDAOImpl.getDictionaryRegistry(DictionaryDAOImpl.java:1044) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.DictionaryDAOImpl.getDictionaryRegistry(DictionaryDAOImpl.java:1030) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.DictionaryDAOImpl.init(DictionaryDAOImpl.java:151) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.NamespaceDAOImpl.getNamespaceRegistry(NamespaceDAOImpl.java:400) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.NamespaceDAOImpl.getPrefixesCtx(NamespaceDAOImpl.java:563) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.NamespaceDAOImpl.getPrefixesCtx(NamespaceDAOImpl.java:550) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.NamespaceDAOImpl.getNamespaceURI(NamespaceDAOImpl.java:300) [alfresco-data-model-4.2.2.jar:] at org.alfresco.repo.dictionary.DictionaryNamespaceComponent.getNamespaceURI(DictionaryNamespaceComponent.java:73) [alfresco-data-model-4.2.2.jar:] at org.alfresco.service.namespace.QName.createQName(QName.java:99) [alfresco-data-model-4.2.2.jar:] at org.alfresco.service.namespace.QName.createQName(QName.java:124) [alfresco-data-model-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncSetDefinitionStorage.getOrCreateSyncSetDefinitionContainer(SyncSetDefinitionStorage.java:391) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncSetDefinitionStorage.hasSyncSetDefintions(SyncSetDefinitionStorage.java:253) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncAdminServiceImpl.hasSyncSetDefintions(SyncAdminServiceImpl.java:598) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$11.execute(SyncTrackerComponent.java:1177) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$11.execute(SyncTrackerComponent.java:1140) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450) [alfresco-repository-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.SyncTrackerComponent.pull(SyncTrackerComponent.java:1139) [alfresco-enterprise-repo-4.2.2.jar:] at org.alfresco.enterprise.repo.sync.OnPremiseSyncPullJob.execute(OnPremiseSyncPullJob.java:36) [alfresco-enterprise-repo-4.2.2.jar:] at org.quartz.core.JobRunShell.run(JobRunShell.java:216) [quartz-1.8.3-patched.jar:] ... 1 more
Note:
The same behavior was also noticed on a single node (deployed from the default installer) both with lucene and solr search engine enabled.
ChristinaSh