TIBCO Spotfire® Server and Environment - Installation and Administration

Setting up JMX monitoring for JConsole

This task walks you through setting up JMX monitoring for using JConsole. It does not use Transport Layer Security (TLS).

Before you begin

  • You must have administrative credentials for Spotfire Server. If you are running these commands in Windows, run the command-line interface as administrator.
  • You must have access to JConsole.

About this task

Perform this task at a command-line prompt on the server, from the directory where the file config.bat (on Windows) or config.sh (on Linux) is installed. By default, this location is <server installation dir>/tomcat/spotfire-bin.

Procedure

  1. Log in to the Spotfire Server, and from the Start menu, open a command-line window as administrator.
  2. At the command line, run the command config export-config.
    Provide the tools password when prompted.
    The configuration is successfully exported and is ready to change.
  3. At the command line, run the command config config-jmx --enabled=true.
    Provide the tools password when prompted.
  4. Import the configuration by running the command config import-config --comment=”Enabling JMX” configuration.xml.
    Provide the tools password when prompted.
  5. Create a JMX user by running the command config create-jmx-user --username=MyJMXUser.
  6. Provide a password for the user MyJMXUser.
    Provide the tools password when prompted.
  7. Restart Spotfire Server.
  8. Browse to the JDK directory containing the JConsole executable.
    The JConsole executable is in the bin directory of the JDK installation, such as <JAVA_HOME>/bin.
  9. Launch the JConsole application.
  10. In the JConsole New Connection dialog, select Remote Process, enter the <hostname>:1099, and then provide the JMX user name and password.
    Tip: To view the Spotfire information, click the MBeans tab, and then select the com.spotfire.server domain.