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

Java configuration is ignored on Ubuntu/Debian

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 24.0.0
    • Fix Version/s: 24.1.0
    • Component/s: Installation
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2019 - 19, Horizon 2019 - May 15th 2019

      Description

      When installing OpenNMS Horizon on Debian/Ubuntu the java.conf file is ignored. After installing with apt -y install opennms you run runjava -s which finds a Java version and creates the java.conf file. You can't start opennms cause and requires to manually set JAVA_HOME in /etc/default/opennms.

      I would recommend to remove the /etc/default/opennms file and make it the same behavior as on CentOS and just read JAVA_HOME or the java.conf file.

        Attachments

          Activity

            People

            Assignee:
            ranger Benjamin Reed
            Reporter:
            indigo Ronny Trommer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: