Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1645

Windows service is not using the right path to log4j2.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: Scripts
    • Labels:
      None

      Description

      The service launcher on windows appears to get the path to log4j2.xml wrong

      ERROR StatusLogger Unable to access file:/C:/Openfire/bin/lib/log4j2.xml
      java.io.FileNotFoundException: C:\Openfire\bin\lib\log4j2.xml (The system cannot find the path specified)
      at java.io.FileInputStream.open0(Native Method)

       

      The install4j configuration has:

      {{-Dlog4j.configurationFile="${launcher:sys.launcherDirectory}/lib/log4j2.xml" }}

       

        Attachments

          Activity

            People

            Assignee:
            akrherz Daryl Herzmann
            Reporter:
            wroot wroot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: