diff --git a/config/alfresco/public-services-context.xml b/config/alfresco/public-services-context.xml
index bd543801e0..9fb335bc94 100644
--- a/config/alfresco/public-services-context.xml
+++ b/config/alfresco/public-services-context.xml
@@ -1124,49 +1124,6 @@
-
-
-
-
- org.alfresco.service.cmr.avm.AVMService
-
-
- AVM Service
-
-
-
-
-
-
-
-
-
- ${server.transaction.mode.readOnly}
- ${server.transaction.mode.default}
- ${server.transaction.mode.default}
- ${server.transaction.mode.default}
- ${server.transaction.mode.readOnly}
- ${server.transaction.mode.readOnly}
- ${server.transaction.mode.default}
-
-
-
-
@@ -1178,29 +1135,50 @@
-
-
- org.alfresco.service.cmr.avmsync.AVMSyncService
+
+
+
+
-
- AVM Tree Synchronization Service
+
+
+ compare
+
-
-
-
-
+
+
+
+
+
-
-
- ${server.transaction.mode.readOnly}
- ${server.transaction.mode.default}
- ${server.transaction.mode.default}
- ${server.transaction.mode.default}
-
+
+
+ update
+ flatten
+ resetLayer
+
+
+
+
+ org.alfresco.service.cmr.avmsync.AVMSyncService
+
+
+
+ avmSyncService
+
+
+
+ avmSyncServiceWriteTxnAdvisor
+ avmSyncServiceReadTxnAdvisor
+
+
+
+
+
+
diff --git a/source/java/org/alfresco/repo/remote/ReauthenticatingAdvice.java b/source/java/org/alfresco/repo/remote/ReauthenticatingAdvice.java
index e3deae9430..898d07c993 100644
--- a/source/java/org/alfresco/repo/remote/ReauthenticatingAdvice.java
+++ b/source/java/org/alfresco/repo/remote/ReauthenticatingAdvice.java
@@ -8,7 +8,6 @@ import org.alfresco.service.cmr.security.AuthenticationService;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.framework.ReflectiveMethodInvocation;
-import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
/**
* This is an interceptor that continuosly tries to reauthenticate when