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.
Metadata Internal Server Error
-
Mango 4.0.0-beta.17
I am trying to configure a metadata source point, and just a very simple test script based off of the examples. However, I am unable to save the point, it always returns and "internal server error". Is it me or a bug?
-
@brownbucks11 The only issue I can see from the pic is that you have not. selected which point should trigger the script to update. At least one of the update check boxes should be checked.
-
I managed to work through the issue, looking at the ma.log I saw an error relating to nashorn unavailable, which relates to the Java JDK. I was using open JDK 11 LTS with hotspot. I decided to take a snapshot my VM and uninstall the Adopt open JDK and install the oracle JDK11. These are the General Steps I used.
Stopped Mango Service
Uninstalled Adopt Open JDK11
Installed Oracle JDK11
Changed the below Environmental Paths:
1.) JAVA_HOME to "C:\Program Files\Java\jdk-11.0.11"
2.) Path to include "C:\Program Files\Java\jdk-11.0.11\bin" instead of the openJDK path
3.) Path added new "%JAVA_HOME%\bin"I then uninstalled Mango as a service
Restarted Server
Installed Mango as a service
Started serviceEverything seems to be working as expected, except my script returned an error but that was somewhat expected.
-
@brownbucks11 another option would be to install the nashorn module which will provide the engine to the JVM when Mango starts.