Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8034

Adding com.sun.management.jmxremote.authenticate=true on opennms.conf is ignored by the opennms script

    XMLWordPrintable

Details

    Description

      A user is trying to configure JMX authentication via opennms.conf with the following properties:

      opennms.conf
      MANAGER_OPTIONS="$MANAGER_OPTIONS -Dcom.sun.management.jmxremote.port=18980"
      MANAGER_OPTIONS="$MANAGER_OPTIONS -Dcom.sun.management.jmxremote.ssl=false"
      MANAGER_OPTIONS="$MANAGER_OPTIONS -Dcom.sun.management.jmxremote.authenticate=true"
      MANAGER_OPTIONS="$MANAGER_OPTIONS -Dcom.sun.management.jmxremote.local.only=false"
      MANAGER_OPTIONS="$MANAGER_OPTIONS -Dopennms.poller.server.serverHost=0.0.0.0"
      MANAGER_OPTIONS="$MANAGER_OPTIONS -Dcom.sun.management.jmxremote.password.file=/opt/opennms/etc/jmxremote.password"
      MANAGER_OPTIONS="$MANAGER_OPTIONS -Dcom.sun.management.jmxremote.access.file=/opt/opennms/etc/jmxremote.access"
      

      When executing the /opt/opennms/bin/opennms script to start OpenNMS, this script will override com.sun.management.jmxremote.authenticate and of course the rest of the properties won't be used.

      The workaround at the moment is modifying the opennms script.

      Attachments

        Activity

          People

            ranger Benjamin Reed
            agalue Alejandro Galue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: