Setting the JMX Properties in tibspm.tra

The Admin agent interacts with the SPM server and the SPM Dashboard through JMX. The JMX properties are set in the SPM_HOME/2.2/bin/tibspm.tra file.

Procedure

  1. Open SPM_HOME/2.2/bin/tibspm.tra.
  2. Set the following properties:
    Properties Description
    java.property.com.sun.management.jmxremote This property should be set to true.
    java.property.com.sun.management.jmxremote.host Specify the IP Address of the remote host.
    java.property.com.sun.management.jmxremote.port=9500 Specify an available port number. Defaults to 9500.
    java.property.com.sun.management.jmxremote.authenticate=false Defaults to true. Set it to false explicitly if you do not want the remote host to be authenticated.
    java.property.com.sun.management.jmxremote.ssl=false Defaults to true. Set it to false explicitly if you do not want SSL.
    java.property.logback.configurationFile Specify the location of logbackConfig.xml file. Defaults to

    TIBCO_CONFIG_HOME/tibco/cfgmgmt/spmteaagent/config/logback-config.xml.

    java.property.deploymentConfigurationFile You can change the property to point to the location of deploymentConfig.xml file. It defaults to

    TIBCO_CONFIG_HOME/tibco/cfgmgmt/spmteaagent/config/deploymentConfig.xml.

    The Admin Agent for SPM will refer to this property for the location of deploymentConfig.xml file. If no file is found at this location, it will create a new one under TIBCO_CONFIG_HOME/tibco/cfgmgmt/spmteaagent/config. If the property, java.property.deploymentConfigurationFile, is not specified, then it looks for the deploymentConfig.xml file in SPM_TEA_AGENT_HOME/config.

    SPM_TEA_AGENT_HOME is the location of the Admin Agent as mentioned in the tibspmteaagent.tra file.

  3. Save the file.