Products | Versions |
---|---|
TIBCO ActiveMatrix Service Grid | - |
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) | - |
TIBCO ActiveMatrix BusinessWorks Service Engine | - |
Stopping the platform application (com.tibco.amx.platform) from the TIBCO ActiveMatrix(R) Administrator Command Line Interface, throws the following error. Refer to sample Command Line Interface scripts (application_data.xml, application_buid.xml) provided under <CONFIG-HOME>\admin\<amxadmin>\samples directory.
****************************
stop-applications:
...
[AMXAdminTask] 23 Apr 2014 14:20:00 ERROR - 4/23/14 2:20 PM - The operation on platform application must be based on a single node.
[AMXAdminTask] 23 Apr 2014 14:20:00 ERROR - 4/23/14 2:20 PM - Application 'com.tibco.amx.platform' does not exist in '<Environment_Name>', cannot perform action
*********************************
Cause: Starting with AMX 3.3.0, each node has its own platform application unlike the previous versions where there exists only one instance of the platform application which is distributed to all nodes belonging to this environment. This is why legacy scripts, without specifying the Node attribute, used to work in previous versions. Starting with 3.3.0, you need to specify the node attribute since each platform application instance is for a specific node.
Resolution: The above mentioned error says, 'com.tibco.amx.platform' does not exist in '<Environment_Name>'. It is not about an incorrect application name, but any operation on the platform application has to be done on a node basis and therefore you should specify the nodeName attribute unlike other apps. Refer the data file content below.
From data file>>
<Environment xsi:type="amxdata:Environment" name="<Environment_Name>">
<Application xsi:type="amxdata:Application" name="com.tibco.amx.platform" nodeName="<Node_Name>"/>
</Environment>
And then, run the stop-applications target from application_buid.xml.