In TIBCO ActiveMatrix 2.x, how to configure a remote JMX connection for a node started via services.msc?

In TIBCO ActiveMatrix 2.x, how to configure a remote JMX connection for a node started via services.msc?

book

Article ID: KB0089041

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO ActiveMatrix BusinessWorks Service Engine -
Not Applicable -

Description

Description:
A node is created as a Windows service. The following properties were added in the node .tra file, restarted from services.msc or the Administrator GUI, but were unable to connect using a JMX tool such as JConsole. It works fine if the node is started via the command line.

java.property.com.sun.management.jmxremote=true
java.property.com.sun.management.jmxremote.port=8886
java.property.com.sun.management.jmxremote.authenticate=false
java.property.com.sun.management.jmxremote.ssl=false

Issue/Introduction

In TIBCO ActiveMatrix 2.x, how to configure a remote JMX connection for a node started via services.msc?

Resolution

When a node is installed as a Windows service, the Windows service may need to be re-installed before a change in .tra takes effective. To re-install the Windows service, run the following commands in the console. Then restart the node.

*************
D:\tib\amx23\amx\data\newenv\node1\bin>newenv_node1.exe --uninstall

D:\tib\amx23\amx\data\newenv\node1\bin>newenv_node1.exe --install
*************

Note: As of the time of this writing, all TIBCO ActiveMatrix 2.x customers are recommended to upgrade to the latest version of TIBCO ActiveMatrix 3.x .