From ec48ee316ddc490240eabc6f0754cfcbbb721bc2 Mon Sep 17 00:00:00 2001 From: Jon Cox Date: Mon, 27 Nov 2006 14:24:41 +0000 Subject: [PATCH] Added infrastructure to allow remote virtualization server to register a callback JMXServiceURL with the Alfresco server's private MBeanServer. Example JMXServiceURL: service:jmx:rmi://ignored/jndi/rmi://localhost:50501/alfresco/jmxrmi ~~~~~~~~~ ~~~~~ [1] [2] Where: Both [1] and [2] are configurable properties within $VIRTUAL_TOMCAT_HOME/conf/alfresco-virtserver.properties Defaults: [1] alfresco.virtserver.host=localhost [2] alfresco.virtserver.port=50501 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- config/alfresco/alfresco-shared.properties | 10 +++++++--- config/alfresco/core-services-context.xml | 16 +++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/config/alfresco/alfresco-shared.properties b/config/alfresco/alfresco-shared.properties index 1fb1a0f69b..382cc62c17 100644 --- a/config/alfresco/alfresco-shared.properties +++ b/config/alfresco/alfresco-shared.properties @@ -7,8 +7,12 @@ # Note: These ports are also used by the virtualization server # (hence, they're in a seperate file that's can be copied easily). -# MBeanServer registry (protocol: RMI) -avm.jmxrmi.port=50500 -# AVMRemote API (protocol: RMI) +# Name of the host running AVM +avm.remote.host=localhost + +# AVMRemote API avm.remote.port=1313 + +# MBeanServer registry port (JMX over RMI) +avm.jmxrmi.port=50500 diff --git a/config/alfresco/core-services-context.xml b/config/alfresco/core-services-context.xml index 7eea2f249d..6fde55ef49 100644 --- a/config/alfresco/core-services-context.xml +++ b/config/alfresco/core-services-context.xml @@ -30,19 +30,19 @@ - + - + + - @@ -55,18 +55,16 @@ + - - - + + - - - +