Error thrown, "The operation on platform application must be based on a single node", whileupdating the Messaging Configuration for Monitoring in ActiveMatrix Service Grid 3.3.0 .

Error thrown, "The operation on platform application must be based on a single node", whileupdating the Messaging Configuration for Monitoring in ActiveMatrix Service Grid 3.3.0 .

book

Article ID: KB0089225

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO ActiveMatrix Service Bus -
Not Applicable -

Description

Description:

As mentioned in the ActiveMatrix Service Grid 3.3.0 documentation under 'Updating the Messaging Configuration' section, perform steps to update messaging configuration for monitoring. Step 3 of the procedure (i.e, ant -f CONFIG_HOME/.../build.xml -Denv.name=environmentName update.monitoring.log.config) will report the following error: 
"The operation on platform application must be based on a single node".

Symptoms:
Below are the complete error logs from running the ant script. 
==
ant -f "C:/Documents and Settings/s mishra/Application Data/amx3330/tibco/data/tct/admin/2013-11-11-12-11-13/scripts/build.xml" -Denv.name=SystemEnvironment update.monitoring.log.configBuildfile: C:\Documents and Settings\smishra\Application Data\amx3330\tibco\data \tct\admin\2013-11-11-12-11-13\scripts\build.xml

update.monitoring.log.config:

-set-config-data-file:

-set-properties:

generate.data.xml:

-change.component.log:
[AMXAdminTask] 24 Apr 2014 10:47:50  INFO - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode [AMXAdminTask] 24 Apr 2014 10:47:50  INFO - Connecting to AMX Admin server at 'h ttp://smishra-amxdt1:8122' as user 'root'.
[AMXAdminTask] 24 Apr 2014 10:47:52  INFO - Processing 1 objects [AMXAdminTask] 24 Apr 2014 10:47:53 ERROR - 4/24/14 10:47 AM - The operation on platform application must be based on a single node.

BUILD FAILED
C:\Documents and Settings\smishra\Application Data\amx3330\tibco\data\tct\admin\2013-11-11-12-11-13\scripts\build.xml:81: The following error occurred while executing this line:
C:\tibco-amx\amx330-64\administrator\3.3\scripts\governance\governance_integration_build.xml:296: Failed on error

Total time: 3 seconds
==

Cause:
The reason for the error is that in ActiveMatrix Service Grid 3.3, there will be separate instances of a platform application for each node under same environment.

Resolution

To overcome this error and update the messaging configuration, follow the detailed steps below.

Updating the Messaging Configuration procedure.

1). Select Shared Objects > Resource Templates.

2).Edit the resource template TIBCO ActiveMatrix Governance JNDI Connection Resource with the new EMS server configuration. Click cancel when asked to update the resource instances and restart application.

3). Open <TIBCO_HOME>/administrator/3.3/scripts/governance/mcrconfig_data.xml and add nodeName=”${node.name}” to the Application element.
==
<Environment xsi:type="amxdata:Environment" description="This is '${env.name}' environment" contact="TIBCO Software Inc." name="${env.name}">
    <Application xsi:type="amxdata:Application" name="com.tibco.amx.platform" nodeName="${node.name}" contact="TIBCO Software Inc." description="Default platform application">

==

4). Apply the change to each node by running: ant -f CONFIG_HOME/tct/admin/timestamp/scripts/build.xml -Denv.name=environmentName -Dnode.name=nodeName update.monitoring.log.config, where environmentName is the name of each of the environments and nodeName is the name of each of the nodes within that particular environment. (Note: execute the script for all nodes including SystemNode and/or SystemNodeReplica).

5). Apply the change to the monitoring service Administrator plugin by running: ant -f CONFIG_HOME/tct/admin/timestamp/scripts/build.xml update.mcr.plat.service.log.config . (Note: For a replicated setup, run the script from both the primary and replica machine).

6). Select Shared Objects > Resource Templates.

7). Make changes in TIBCO ActiveMatrix Governance JNDI Connection resource template details by editing its description field . Click save when asked to update the resource instances and restart application.

Issue/Introduction

Error thrown, "The operation on platform application must be based on a single node", whileupdating the Messaging Configuration for Monitoring in ActiveMatrix Service Grid 3.3.0 .