• Recent
    • Tags
    • Popular
    • Register
    • Login

    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 Mango 5 Documentation Website

    Installing Windows Service

    Mango Automation Installation
    5
    25
    8.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Wingnut2.0
      last edited by Wingnut2.0

      javaws.jar is not included in AdoptOpenJDK which is required for YAJSW to work.

      1 Reply Last reply Reply Quote 0
      • MattFoxM
        MattFox
        last edited by

        Thanks Wingnut

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        1 Reply Last reply Reply Quote 0
        • R
          Rodrigo
          last edited by

          Thanks Matt / Wingnut

          Can you guys elaborate a little on how to fix it?

          Best,
          Rodrigo

          1 Reply Last reply Reply Quote 0
          • W
            Wingnut2.0
            last edited by

            Hello Rodrigo,

            I have found that if you want to run a version of 3.7.7 or lower on Windows as a service your best bet is Installing Oracle JDK 8. I know it doesn't necessarily follow the recommendation's here, but it allows you to run as a service.

            https://docs-v3.mango-os.com/installing-java

            • For Mango versions 3.6.x and higher we recommend using the latest version of Adopt OpenJDK.

            • For Mango versions 3.5.x and lower you should use JDK 8 (OpenJDK 8 should work however we primarily tested on Oracle JDK). Older versions of Mango may not work correctly if you use a newer JDK.

            • OpenJDK 8 builds for ARM 32 processors seem to perform extremely poorly, we suggest avoiding this JDK

            Another option that I haven't looked into is explained here.
            https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-service?view=powershell-7

            1 Reply Last reply Reply Quote 1
            • R
              Rodrigo
              last edited by Rodrigo

              Wingnut,

              You think I should buy an Oracle JDK 8 license?

              Best,
              Rodrigo

              1 Reply Last reply Reply Quote 0
              • W
                Wingnut2.0
                last edited by

                Hello Rodrigo,

                Here is another alternative. This works on windows with AdoptOpenJDK 11.

                https://nssm.cc/

                NSSM - the Non-Sucking Service Manager

                1 Reply Last reply Reply Quote 0
                • MattFoxM
                  MattFox
                  last edited by

                  @wingnut2-0 said in Installing Windows Service:

                  NSSM - the Non-Sucking Service Manager

                  I laughed a little too hard at that one

                  Do not follow where the path may lead; go instead where there is no path.
                  And leave a trail - Muriel Strode

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rodrigo
                    last edited by

                    hahaha

                    I will try to use this and get back to you with news.

                    Thanks guys!

                    Best,
                    Rodrigo

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wingnut2.0
                      last edited by Wingnut2.0

                      When changing to a service on windows your GUID will more than likely change (Thank you Dave)
                      This will require a request to transfer you license from the old GUID to the new one.

                      If you run into that - below is the link to request the transfer.
                      https://mango-os.com/license-help

                      1 Reply Last reply Reply Quote 0
                      • R
                        Rodrigo
                        last edited by

                        Hi guys,

                        I have not been able to solve this. I don't know how to use this https://nssm.cc/
                        What can I do?
                        @Wingnut2-0 you recommended Oracle JDK 8, is it free for this use?

                        Thanks,
                        Rodrigo

                        1 Reply Last reply Reply Quote 0
                        • T
                          tungthanh500
                          last edited by

                          Hi, I just installed Mango V4 latest beta. However, Mango service cannot start automatically. I have to run mango.cmd in command promt as administrator.
                          When I tried to start the service in Services.msc, error 1067 occurrs.
                          I already installed AdoptJDK 11 and assign environment variable.

                          dschaibleD 1 Reply Last reply Reply Quote 0
                          • dschaibleD
                            dschaible @tungthanh500
                            last edited by

                            @tungthanh500

                            Did you check this page: https://docs-v4.mango-os.com/windows-installation

                            Are you seeing any errors in eventviewer that you can share?

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tungthanh500 @dschaible
                              last edited by

                              @dschaible said in Installing Windows Service:

                              @tungthanh500

                              Did you check this page: https://docs-v4.mango-os.com/windows-installation

                              Are you seeing any errors in eventviewer that you can share?

                              I just found out the reason. Of course I follow above instruction but instead of installing mango in C drive, I created a folder named SCADA in C:\Program Files\ and have mango and mango_data folder in SCADA folder. Maybe the name Program Files is not easy to identify with windows services. This should be added in the instruction.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post