How to configure JMX port for TIBCO BusinessEvents engine

How to configure JMX port for TIBCO BusinessEvents engine

book

Article ID: KB0084101

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.4.0 and up

Description

How to configure JMX port for TIBCO BusinessEvents engine.

Environment

All

Resolution

The generic Java property com.sun.management.jmxremote.port can be used to enable JMX port for a BE engine. You can also use the BE JMX connector port to enable JMX port for a specific be-engine:

be.engine.jmx.connector.port

There are several ways in which you can set values for the JMX property:

1). Define the Global Variable (%%Cluster/JMX_Port%%) and set it in the CDD file at Processing Unit (PU) level.

be.engine.jmx.connector.port = %%/JMX/Port%%

In this way, the JMX port value is defined with a Global Variable and the value set to the Global Variable will be taken into consideration at runtime. You can follow other ways of setting a Global Variable to set a value for the JMX port, e.g., override the JMX/Port Global Variable(GV)  in the Admin console upon deployment or modify the GV value in a deploy-config xml file for your application and then use appmanage to deploy the application to TIBCO Administrator with that deploy-config xml file.

2). Use environment variable.

Define/uncomment the property in be-engine.tra:

java.property.be.engine.jmx.connector.port=%jmx_port%

use --propVar at command line to pass in jmx_port while starting the engine

3). Define this property with its value in a property file and pass the property file through -p parameter in the command line

be.engine.jmx.connector.port=6757

Issue/Introduction

How to configure JMX port for TIBCO BusinessEvents engine.