cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 4.0d replication not working

sharifu
Confirmed Champ
Confirmed Champ
I have set up replication the same way as 3.4d. The replication job keeps display "replication service not enabled"

in the log file


2012-05-23 10:07:32,922  ERROR [repo.action.AsynchronousActionExecutionQueueImpl] [defaultAsyncAction1] Failed to execute asynchronous action: Action[ id=1804a798-573b-4e9c-86ea-6aed031cfe4d, node=workspace://SpacesStore/1804a798-573b-4e9c-86ea-6aed031cfe4d ]
org.alfresco.service.cmr.replication.ReplicationServiceException: 04230008 Unable to replicate. The replication service is not enabled
   at org.alfresco.repo.replication.ReplicationActionExecutor.executeImpl(ReplicationActionExecutor.java:277)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:196)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:780)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:700)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:403)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:259)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:412)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:519)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:415)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:662)

7 REPLIES 7

mrogers
Star Contributor
Star Contributor
So enable it!

replication.enabled=true

sharifu
Confirmed Champ
Confirmed Champ
cheers

Sorry for the multiple posts. It seems I cannot delete my posts. If anyone can, please delete this!

ericlemanissier
Champ in-the-making
Champ in-the-making
Sorry for the multiple posts. It seems I cannot delete my posts. If anyone can, please delete this!

ericlemanissier
Champ in-the-making
Champ in-the-making
I am having a similar error in alfresco 4.0 :

14:39:10,044 ERROR [org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl] Failed to execute asynchronous action: Action[ id=c02cf734-3b4f-4170-88fb-ca4c6f607813, node=workspace://SpacesStore/c02cf734-3b4f-4170-88fb-ca4c6f607813 ]
org.alfresco.service.cmr.replication.ReplicationServiceException: 00080351 Unable to replicate. The replication service is not enabled
   at org.alfresco.repo.replication.ReplicationActionExecutor.executeImpl(ReplicationActionExecutor.java:277)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:196)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:780)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:700)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:403)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:259)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:412)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:519)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:415)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)


I already enabled the replication service in alfresco-global.properties and restarted alfresco. It seems ok because i get in the log
13:30:40,175 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Replication' subsystem, ID: [Replication, default]
13:30:40,241 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
and when i navigate to http://*****:8080/alfresco/service/api/replication-service-status i get
{
   "data":
   {
      "enabled": true
   }
}


Any clue what could be wrong with our configuration ?

eswbitto
Confirmed Champ
Confirmed Champ
@ericLemanissier,

From your logs it looks like its enabled. A little curious though the log that shows the subsystem started is at 1:30 and the other log that says it is not enabled shows at 2:39. Are these two logs on the same day?

ericlemanissier
Champ in-the-making
Champ in-the-making
The logs are on the same day, yes.