• 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

    Metadata Internal Server Error

    User help
    3
    4
    748
    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.
    • B
      brownbucks11
      last edited by

      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?

      MetaDataSourceError.PNG

      1 Reply Last reply Reply Quote 0
      • CraigWebC
        CraigWeb
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • B
          brownbucks11
          last edited by brownbucks11

          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 service

          Everything seems to be working as expected, except my script returned an error but that was somewhat expected.

          1 Reply Last reply Reply Quote 0
          • terrypackerT
            terrypacker
            last edited by

            @brownbucks11 another option would be to install the nashorn module which will provide the engine to the JVM when Mango starts.

            https://store.infiniteautomation.com/module/nashorn

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