From e51c89364316178a02c006b7ed1b3ad02fb1eefb Mon Sep 17 00:00:00 2001 From: Jan Vonka Date: Thu, 8 Apr 2010 15:38:51 +0000 Subject: [PATCH] Fix ALF-2324: Virtualization Server failed to connect to WCM Authoring Server git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- config/alfresco/core-services-context.xml | 17 ++++++++++++----- .../util/RuntimeSystemPropertiesSetter.java | 4 ++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/config/alfresco/core-services-context.xml b/config/alfresco/core-services-context.xml index 934844bd4b..30b6e5fff2 100644 --- a/config/alfresco/core-services-context.xml +++ b/config/alfresco/core-services-context.xml @@ -9,9 +9,13 @@ - - - + + + + 5 + + + @@ -70,8 +74,8 @@ - - + + @@ -85,6 +89,9 @@ classpath:alfresco/alfresco-shared.properties + + 10 + diff --git a/source/java/org/alfresco/util/RuntimeSystemPropertiesSetter.java b/source/java/org/alfresco/util/RuntimeSystemPropertiesSetter.java index d422c008c6..d2b2d149a2 100644 --- a/source/java/org/alfresco/util/RuntimeSystemPropertiesSetter.java +++ b/source/java/org/alfresco/util/RuntimeSystemPropertiesSetter.java @@ -29,7 +29,7 @@ import org.springframework.beans.factory.config.BeanFactoryPostProcessor; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; -import org.springframework.core.Ordered; +import org.springframework.core.PriorityOrdered; import org.springframework.core.io.support.ResourcePatternResolver; /** @@ -44,7 +44,7 @@ import org.springframework.core.io.support.ResourcePatternResolver; * @author Jon Cox * @see #setProperties(Map) */ -public class RuntimeSystemPropertiesSetter implements BeanFactoryPostProcessor, ApplicationContextAware, Ordered +public class RuntimeSystemPropertiesSetter implements BeanFactoryPostProcessor, ApplicationContextAware, PriorityOrdered { private static Log logger = LogFactory.getLog(RuntimeSystemPropertiesSetter.class );