• 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

    Http image filedata empty?

    User help
    2
    5
    2.6k
    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.
    • C
      craig
      last edited by

      Hi

      mango on windows+tomcat creates the filedata directory under WEB-INF but the directory stays empty. Mango on linux doesn't seem to create the filedata directory as I can't find it anywhere on the filesystem. Couldn't find anything in the logs about an exception being thrown when creating the directory failed. I'm hoping filedata is where images from HttpImage datasource are meant to be saved. Is this correct?

      Flipbook, thumbnails in the watchlist and the choice of scaling images at retrieval and on the graphical view are all real polished features! Once I sort out how and where the images are stored I'll be set.

      If I restart tomcat the flipbook starts from empty. Also in the history box all the values are "img-1.jpg".

      Thanks,
      Craig

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        Hi Craig,

        I may have forgotten to mention in the documentation: image points default to "do not log". To save the images, make sure you update the logging settings.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • M
          mlohbihler
          last edited by

          BTW, on both linux and windows the filedata dir is created (and used) under WEB-INF for me. This setting is controlled by the filedata.path setting in the env.properties file. If the value is not set, it should default to "~/WEB-INF/filedata" in the code.

          Best regards,
          Matthew

          1 Reply Last reply Reply Quote 0
          • C
            craig
            last edited by

            I had to enable logging on the data point edit page and all is working properly now. Thanks

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