Skip Navigation

Enable JMX

You must modify the GoodServerDistribution-wrapper.conf file on the computer that hosts the
BEMS
instance to allow jconsole to connect to
BEMS
and view the monitoring attributes. By default, this feature is disabled.
  1. In a text editor, navigate to the GoodServerDistribution-wrapper.conf file. By default, this file is located in <
    drive
    >:\Program Files\BlackBerry\BlackBerry Enterprise Mobility Server\Good Server Distribution\gems-quickstart-<
    version
    >\etc. Make a backup of this file and save it to your desktop.
  2. Below the
    # Use the Garbage First (G1) Collector
    section, uncomment the following properties:
    • wrapper.java.additional.<
      n
      >=-Dcom.sun.management.jmxremote.port=<
      port
      >
    • wrapper.java.additional.<
      n
      >=-Dcom.sun.management.jmxremote.authenticate=false
    • wrapper.java.additional.<
      n
      >=-Dcom.sun.management.jmxremote.ssl=false
    Where <
    n
    > must be changed to the next unique, incremental identifier in the GoodServerDistribution-wrapper.conf file. For example, in the following example, you must change the <
    n
    > for jmxremote.port to 23.
    # Needed for Certicom Security Provider wrapper.java.additional.
    19
    =-Dcerticom.keyagreement.ecdh=rawECDH # Use the Garbage First (G1) Collector wrapper.java.additional.
    20
    =-XX:+UseG1GC wrapper.java.additional.
    21
    =-Djava.security.properties="%KARAF_ETC%/java.security" wrapper.java.additional.
    22
    =-Dkeystore.pkcs12.legacy # Uncomment to enable wrapper.java.additional.
    n
    =-Dcom.sun.management.jmxremote.port=1616 wrapper.java.additional.
    n
    =-Dcom.sun.management.jmxremote.authenticate=false wrapper.java.additional.
    n
    =-Dcom.sun.management.jmxremote.ssl false
  3. Record the port number. This port number is required to log in to jconsole and access
    BEMS
    locally and remotely.
  4. Save and close the file.
  5. Restart the
    Good Technology Common Services
    service.