• 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

    Multiple mango instances

    Mango Automation Installation
    3
    9
    4.6k
    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.
    • Y
      youcanspellit
      last edited by

      I'm running MA 2 using derby on OSX. I'm trying to get two independent mango instances going at the same time but can't seem to get it up and running. I Unzipped a fresh copy of MA, changed the server address to :8082 using an override to "env.properties" and started up with ma-start.command. The process runs, modules are unpacked, the java framework starts running and then shuts down. I'm guessing I need to modify more than just the properties?

      Attachment: download link

      1 Reply Last reply Reply Quote 0
      • JoelHaggarJ
        JoelHaggar
        last edited by

        Make sure you do not have a MA_Home environmental property set. If it is set for the whole system then there will be a conflict between the two instances.

        1 Reply Last reply Reply Quote 0
        • Y
          youcanspellit
          last edited by

          Where exactly is that set? I'm familiar with setting that in windows but not osx.

          1 Reply Last reply Reply Quote 0
          • JoelHaggarJ
            JoelHaggar
            last edited by

            There are a few ways to set it but if you didn't set it to begin with then that's probably not the problem.

            1 Reply Last reply Reply Quote 0
            • Y
              youcanspellit
              last edited by

              Ok I may have found a bug. It appears that the overides folder isn't working. If I modify the original properties file, everything works perfectly. Any Ideas why the overides folder isn't being seen?

              1 Reply Last reply Reply Quote 0
              • K
                kdebower
                last edited by

                I also have trouble getting multiple instances to run. I've left two replies at http://forum.infiniteautomation.com/forum/posts/list/647.page describing my attempts with Mango 1.
                Now I've installed Mango 2 and I have the same problem. Both instances appear to run normally. After browsing around instance 1, when I click on instance 2 I find instance 2 is logged out. I then login at instance 2, browse around. Then when I go back to instance 1, I find instance 1 is logged out.
                The two instances are under different subdirectories under tomcat. env.properties define different ports (not using the overides folder). I've tried both derby and MySQL (with distinct databases) and get the same result.

                1 Reply Last reply Reply Quote 0
                • JoelHaggarJ
                  JoelHaggar
                  last edited by

                  I think the problem is the way the browser keeps the session open. If you open each instance in two different browsers it should work fine.

                  Joel.

                  1 Reply Last reply Reply Quote 0
                  • K
                    kdebower
                    last edited by

                    Many thanks Joel. That's the secret.

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