• 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

    Core 2.1 Modbus I/P data source error

    Scheduled Pinned Locked Moved User help
    8 Posts 3 Posters 2.8k Views 1 Watching
    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.
    • G Offline
      Glen
      last edited by

      Background:
      Was running Core 2.03 and Modbus I/P (both unlicensed). Had five Modbus I/P data sources setup with less than 20 registers each. Worked fine.
      Decided to upgrade to Core 2.1 and associated modules as I want to move to licensed versions.
      Had problems upgrading, so uninstalled 2.03 and installed 2.1 then setup one Modbus I/P data source with five registers. Works fine.

      Problem:
      Tried to add a second Modbus I/P data source, but when trying to save the Modbus IP Properties, get the following error:
      com.serotonin.m2m2.http.vo.HttpReceiverDataSourceVO cannot be cast to com.serotonin.m2m2.modbus.vo.ModbusIpDataSourceVO

      I have restarted the instance a few times.
      I removed the HTTP data source and restarted the instance, then tried again to add a second Modbus I/P ds, but now get "A server error has occured".

      Any help is appreciated.
      Thanks.

      1 Reply Last reply Reply Quote 0
      • JoelHaggarJ Offline
        JoelHaggar
        last edited by

        Hi Glen,

        Did you clear your browsers cache? Here are the upgrade instructions in case you missed them: http://infiniteautomation.com/index.php/download/2-uncategorised/98-upgrade-instructions

        Joel.

        1 Reply Last reply Reply Quote 0
        • G Offline
          Glen
          last edited by

          Hi Joel,

          I switched browsers from IE to Firefox, but no help (of course MS updates installed IE11..).

          I did find the problem...
          JRE1.6 was installed, and the partially allowed Mango to function.
          I installed JRE1.7 (client version) and had no functionality at all...
          So I installed the server version of JRE1.7 and now seem to have everything I need immediately working fine.

          Thanks for your quick response.
          Glen

          1 Reply Last reply Reply Quote 0
          • JoelHaggarJ Offline
            JoelHaggar
            last edited by

            That is interesting. Also make sure you have JDK 1.6 or 1.7 installed and you may need to set a JAVA_HOME environmental variable pointing to the JDK installation.

            Joel.

            1 Reply Last reply Reply Quote 0
            • G Offline
              Glen
              last edited by

              Joel, yes I did have to set JAVA_HOME as well.

              Quick side question - where can I change the Mango web server port from 8080 to another port ... 9999 for eample?

              1 Reply Last reply Reply Quote 0
              • JoelHaggarJ Offline
                JoelHaggar
                last edited by

                It's in the /classes/env.properties file.

                Joel.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  superman7
                  last edited by

                  What was installed, and the partially allowed Mango to function.

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