diff --git a/config/alfresco/action-services-context.xml b/config/alfresco/action-services-context.xml
index e40e489e70..86b822260a 100644
--- a/config/alfresco/action-services-context.xml
+++ b/config/alfresco/action-services-context.xml
@@ -118,8 +118,7 @@
-
-
+
diff --git a/config/alfresco/cache-context.xml b/config/alfresco/cache-context.xml
index da70994d43..3fbd520fda 100644
--- a/config/alfresco/cache-context.xml
+++ b/config/alfresco/cache-context.xml
@@ -1074,7 +1074,7 @@
-
+
@@ -1087,18 +1087,4 @@
-
-
-
-
-
-
-
- org.alfresco.cache.executingActionsTransactionalCache
-
-
- 1000
-
-
-
diff --git a/config/alfresco/extension/ehcache-custom.xml.sample.cluster b/config/alfresco/extension/ehcache-custom.xml.sample.cluster
index f52a886d18..29bc159918 100644
--- a/config/alfresco/extension/ehcache-custom.xml.sample.cluster
+++ b/config/alfresco/extension/ehcache-custom.xml.sample.cluster
@@ -838,10 +838,10 @@
diff --git a/source/java/org/alfresco/repo/action/ActionTrackingServiceImplTest.java b/source/java/org/alfresco/repo/action/ActionTrackingServiceImplTest.java
index e4be4130dd..215524ab83 100644
--- a/source/java/org/alfresco/repo/action/ActionTrackingServiceImplTest.java
+++ b/source/java/org/alfresco/repo/action/ActionTrackingServiceImplTest.java
@@ -33,7 +33,7 @@ import org.alfresco.model.ContentModel;
import org.alfresco.repo.action.ActionServiceImplTest.CancellableSleepAction;
import org.alfresco.repo.action.ActionServiceImplTest.SleepActionExecuter;
import org.alfresco.repo.action.executer.MoveActionExecuter;
-import org.alfresco.repo.cache.EhCacheAdapter;
+import org.alfresco.repo.cache.SimpleCache;
import org.alfresco.repo.content.MimetypeMap;
import org.alfresco.repo.jscript.ClasspathScriptLocation;
import org.alfresco.repo.security.authentication.AuthenticationUtil;
@@ -69,6 +69,7 @@ public class ActionTrackingServiceImplTest extends TestCase
private NodeRef rootNodeRef;
private NodeRef nodeRef;
+ @SuppressWarnings("unused")
private NodeRef folder;
private NodeService nodeService;
private ActionService actionService;
@@ -76,7 +77,7 @@ public class ActionTrackingServiceImplTest extends TestCase
private TransactionService transactionService;
private RuntimeActionService runtimeActionService;
private ActionTrackingService actionTrackingService;
- private EhCacheAdapter executingActionsCache;
+ private SimpleCache executingActionsCache;
@Override
@SuppressWarnings("unchecked")
@@ -87,7 +88,7 @@ public class ActionTrackingServiceImplTest extends TestCase
this.runtimeActionService = (RuntimeActionService)ctx.getBean("actionService");
this.actionTrackingService = (ActionTrackingService)ctx.getBean("actionTrackingService");
this.transactionService = (TransactionService)ctx.getBean("transactionService");
- this.executingActionsCache = (EhCacheAdapter)ctx.getBean("executingActionsSharedCache");
+ this.executingActionsCache = (SimpleCache)ctx.getBean("executingActionsCache");
AuthenticationUtil.setRunAsUserSystem();
@@ -117,9 +118,7 @@ public class ActionTrackingServiceImplTest extends TestCase
txn.commit();
// Cache should start empty each time
- for(String key : executingActionsCache.getKeys()) {
- executingActionsCache.remove(key);
- }
+ executingActionsCache.clear();
// Reset the execution instance IDs, so we
// can predict what they'll be