Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

Error: Null object returned for RollingRandomAccessFile in Appenders.


  • Hi All,

    A day ago I have been trying to start mango as a service when the server shut down and startup. For this purpose first of all, I have created a task via Windows Task Scheduler in order to start mango automatically whenever server startup. In this way, I couldn't start mango after restarting the server. Then I created a shortcut of ma-start.bat in the folder C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup, mango did not start again after restarting the server.
    Then, I have deleted both windows schedular task and shortcut. Before all, method 1 was working properly.

    What could cause to that? How can I solve it?

    Method 1:

    1. Open C:\Program Files (x86)\mango\bin

    2. Click ma-start.bat
      or

    3. Open cmd window

    4. Run command : cd C:\Program Files (x86)\BMS\bin

    5. Run command ma-start.bat

      Result: Mango gives error like below
      Error: ERROR Null object returned for RollingRandomAccessFile in Appenders.
      ERROR Unable to locate appender "logfile" for logger config "root"

    Method 2

    1. Run cmd as an administrator.
    2. Run command cd C:\Program Files (x86)\BMS\bin
    3. Run commandma-start.bat

    Result: Mango works properly.

    Thanks in advance.


  • Hi Nurr,

    all my windows installations work with this configuration:

    https://forum.infiniteautomation.com/topic/4632/windows-10-services-for-mango