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.
Solved Java error during init; Cannot map handler, there is already handle of type XXX mapped.
-
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 folderThanks!
-
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';
-
@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.