<?xml version="1.0" encoding="ISO-8859-1"?>

<activation-groups>
  <activation-group name="ActiveAgentGroup"
                    classpath="hermes-jmx.jar"
                    policy="${HERMES_DIRECTORY}/config/rmid.policy"
                    script="${HERMES_DIRECTORY}/bin/script/ActiveAgent">
    <activatable-object name="ActiveAgent"
                        class="org.jbossmx.cluster.watchdog.agent.BaseAgent"
                        codebase="jar:file:${HERMES_DIRECTORY}/jars/hermes-jmx.jar!/"
                        rmi-binding="ActiveAgent">
      <marshalled-object class="org.jbossmx.cluster.watchdog.util.StringInitProperties">
        <constructor-param class="java.lang.String">
          MLET_JAR_PATH=file:${HERMES_DIRECTORY}/jars/hermes-jmx.jar
          MLET_RESOURCE_LOCATION=file:${HERMES_DIRECTORY}/config/mlet/ActiveAgentMLet.xml
          TOLERATE_SYSTEM_MBEAN_FAILURE=false
          TOLERATE_CUSTOM_MBEAN_FAILURE=true
          AGENT_CONFIGURATOR_CLASS=com.xtempus.xct.jmx.util.AgentConfigurator
          LOG_CATEGORY=ActiveAgent
          LOG_FILE=${HERMES_DIRECTORY}/config/log4j.properties
          JNDI_FILE=${HERMES_DIRECTORY}/config/jndi.properties
        </constructor-param>
      </marshalled-object>
    </activatable-object>
  </activation-group>

  <activation-group name="FailoverAgentGroup"
                    classpath="hermes-jmx.jar"
                    policy="${HERMES_DIRECTORY}/config/rmid.policy"
                    script="${HERMES_DIRECTORY}/bin/script/FailoverAgent">
    <activatable-object name="FailoverAgent"
                        class="org.jbossmx.cluster.watchdog.agent.BaseAgent"
                        codebase="jar:file:${HERMES_DIRECTORY}/jars/hermes-jmx.jar!/"
                        rmi-binding="FailoverAgent">
      <marshalled-object class="org.jbossmx.cluster.watchdog.util.StringInitProperties">
        <constructor-param class="java.lang.String">
          MLET_JAR_PATH=file:${HERMES_DIRECTORY}/jars/hermes-jmx.jar
          MLET_RESOURCE_LOCATION=file:${HERMES_DIRECTORY}/config/mlet/FailoverAgentMLet.xml
          TOLERATE_SYSTEM_MBEAN_FAILURE=false
          TOLERATE_CUSTOM_MBEAN_FAILURE=true
          AGENT_CONFIGURATOR_CLASS=com.xtempus.xct.jmx.util.AgentConfigurator
          LOG_CATEGORY=FailoverAgent
          LOG_FILE=${HERMES_DIRECTORY}/config/failover.log4j.properties
          JNDI_FILE=${HERMES_DIRECTORY}/config/jndi.properties
        </constructor-param>
      </marshalled-object>
    </activatable-object>
  </activation-group>
</activation-groups>
