How to set the JMX port in TIBCO BusinessEvents Studio debugger.

How to set the JMX port in TIBCO BusinessEvents Studio debugger.

book

Article ID: KB0093179

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
When the be-engine.tra file has the line "java.property.be.engine.jmx.connector.port=%jmx_port%" enabled, TIBCO BusinessEvents Studio debugger will fail to start with an error stack of:


2014 Dec 11 09:29:22:429 GMT -6 guy-T430.na.tibco.com Debug [main] - [runtime.session] Error performing initAll()
java.lang.NumberFormatException: For input string: "%jmx_port%"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.valueOf(Unknown Source)
    at com.tibco.cep.runtime.service.management.jmx.connectors.JMXConnUtil.getConnPort(JMXConnUtil.java:167)
    at com.tibco.cep.runtime.service.management.jmx.connectors.JMXConnUtil.getConnPort(JMXConnUtil.java:192)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.convertJMXPropsToCSV(RuleServiceProviderImpl.java:937)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.registerDomains(RuleServiceProviderImpl.java:861)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initAll(RuleServiceProviderImpl.java:610)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:226)
    at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:156)
    at com.tibco.cep.container.standalone.BEMain.main(SourceFile:70)

Symptoms:
See above description.

Cause:
Not setting the JMX port with an integer value results in this error.

Resolution

In the Run Configuration of TIBCO BusinessEvents Studio in the section titled, 'VM Arguments', specify the following: '-Dbe.engine.jmx.connector.port=XXXX' where XXXX is any port which is unused. Note, this setting is true for versions 5.1.3 and above.

Issue/Introduction

How to set the JMX port in TIBCO BusinessEvents Studio debugger.