• 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 instance

    User help
    4
    7
    3.3k
    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.
    • S
      skiv71
      last edited by

      hi, probably a silly question....

      but can i configure tomcat to run multiple instances of mango?

      i.e. localhost:8080 gui instance
      localhost:8081 deep stuff that i want to keep away from the minions lol

      thinking of segregating certain functionality.

      and can i exchange data between...

      1 Reply Last reply Reply Quote 0
      • O
        oja
        last edited by

        Can you use

        localhost:8080/mango1, localhost:8080/mango2 .... ?

        Oja

        1 Reply Last reply Reply Quote 0
        • M
          mlohbihler
          last edited by

          Shouldn't be any reason why not. If you're using Derby make sure you're databases are separate. (Actually, same goes for MySQL - having instances share a database has not been tested.)

          As for sharing data, you can using a publisher/data source combination.

          Best regards,
          Matthew

          1 Reply Last reply Reply Quote 0
          • S
            skiv71
            last edited by

            i may do this on my next project...

            will be having a lot of data exchange between sources and i'd like to keep it away from the muppets lol

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

              I have multiple instances of (xampp) tomcat/mango running on one computer, ports 8080 and 8081, with MySQL databases separated and with these ports also adjusted.
              I need this to service several separate external sites at the same time.
              It all works great except only one site can be logged on at a time.
              For example, I log on as a user at site 1 and get a normal response. Then I log on at site 2 as another user and get a normal response. Then going back to site 1, I find I'm logged out. Is very consistent.
              Is there a work-around?

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

                Still working on multiple instances.
                After further reading, I've changed tomcat to allow multiple instances of the webapp mango within one instance of tomcat. e.g. created multiple subdirs under /tomcat, modified server.xml for separate ports, created separate MySQL databases for each instance, etc.
                Results are the same:
                Multiple Mangos appear to run at the same time. An instance stays logged in until a second instance is clicked, at which time the second instance is found to be not logged in, and the first instance will be found to be logged out when it is clicked.
                Any help would be appreciated.

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