• 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

    Solved Java error during init; Cannot map handler, there is already handle of type XXX mapped.

    User help
    2
    3
    1.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.
    • D
      dcaron
      last edited by

      Hello,

      So I made some changes to my Custom Dashboard code and somehow broke the Mango server.

      When rebooting it, it now throws this error before shutting down.

      Does anyone have an idea of where I probably made a mistake?
      I have a custom Dashboard in the overrides folder

      0_1475861830614_2016-10-07-Ubuntu Desktop - VMware Remote Console.png

      0_1475861903816_2016-10-07-custom1 - Mango .22 - WinSCP.png

      Thanks!

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi dcaron, sorry this slipped past me!

        I bet your Public URL and Private URL on the system setting's page for Dashboard settings have the same value. This probably shouldn't be permitted by validation, so thanks for bringing it to our attention!

        To fix, you'll need to run an SQL command. You can do that either through launching the H2 as described here: http://help.infiniteautomation.com/support/solutions/articles/14000022661-about-the-h2-database or if you are using MySQL you can connect at your command line. Or, you can move the dashboards module out of the Mango/web/modules directory, start Mango and use Mango's SQL console, then move the module back and restart.

        update systemSettings set settingvalue=CONCAT('/otherpath', settingvalue) where settingname='dashboards.public.urlPrefix';
        
        D 1 Reply Last reply Reply Quote 0
        • D
          dcaron @phildunlap
          last edited by

          @phildunlap Great thank you! That makes sense, I do remember messing with those settings trying to get the custom dashboard to reload properly which I had help fixing in another topic.

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