• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. rcopeland
    3. Posts

    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
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 48
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by rcopeland

    • RE: Converting from Derby to MySQL

      Hi I'm having trouble with this conversion. I've performed the steps listed on the first page, but when I go to localhost:8080 I get a HTTP Status 404 Error: The requested resource is not available.

      On the Tomcat console, the errors appear to start around here:> SEVERE: Error listenerStart
      Jan 24, 2012 9:35:40 AM org.apache.catalina.core.StandardContext start
      SEVERE: Context [] startup failed due to previous errors
      INFO 2012-01-24 09:35:40,093 (com.serotonin.mango.MangoContextListener.contextD
      estroyed:124) - Mango context terminating
      INFO 2012-01-24 09:35:40,093 (com.serotonin.mango.db.BasePooledAccess.terminate
      :123) - Stopping database Anyone have any idea why this happens? My Information for the MySQL connection is correct, as when I put in a wrong password on purpose I get different and more errors.

      Additionally, does anyone know the user/password login information to log into the derby database? I would like to browse the database with a program I have, but havent been able to make the connection as I havent found where the user/password is kept.

      Thanks!

      posted in User help
      R
      rcopeland
    • RE: Integration into Flex or HTML

      You can use a public view (under graphical views), which is an externally available page without login, and then embed that in an iFrame.

      posted in How-To
      R
      rcopeland
    • Better representation of changes on graphs

      The default setting for loggint is "when point value changes". I understand this is for saving database space, a good reason. However, consider this scenario: I am counting the number of clicks of a switch from a device. Let's say it is at 10 from 7:00 until 7:59, and at 8:00 it reaches 11. In the current setup (at least on my version) if I select "when point value changes" then on the graph in mango there would be a straight line from 7:00 until 8:00. This is not really accurate however, as there really should be a line from 7:00 to 7:59 and a line from 7:59 to 8:00, which which show the jump, rather than a only slightly inclined line. This can be accomplished by saving every data point, but in the interest of saving space it could probably be optimized.

      To sum it up, my wish is: if "when point value changed" is selected, then draw a line from the first data point to the point BEFORE the value changes, and then connect this point to the changed value.

      Thanks.

      posted in Wishlist
      R
      rcopeland
    • RE: Better representation of changes on graphs

      The default setting for loggint is "when point value changes". I understand this is for saving database space, a good reason. However, consider this scenario: I am counting the number of clicks of a switch from a device. Let's say it is at 10 from 7:00 until 7:59, and at 8:00 it reaches 11. In the current setup (at least on my version) if I select "when point value changes" then on the graph in mango there would be a straight line from 7:00 until 8:00. This is not really accurate however, as there really should be a line from 7:00 to 7:59 and a line from 7:59 to 8:00, which which show the jump, rather than a only slightly inclined line. This can be accomplished by saving every data point, but in the interest of saving space it could probably be optimized.

      To sum it up, my wish is: if "when point value changed" is selected, then draw a line from the first data point to the point BEFORE the value changes, and then connect this point to the changed value.

      Thanks.

      posted in Wishlist
      R
      rcopeland
    • RE: Calculate Standard Deviation, Normal Distribution?

      Great, thanks!

      posted in User help
      R
      rcopeland
    • Calculate Standard Deviation, Normal Distribution?

      Hello,

      I was wondering if anyone has come up with functions to calculate standard deviation, and come up with a normal distribution graph from any given data set. I understand how it would be possible to calculate standard deviation with meta variables, but it seems like a lot of work to do for something that someone may have done in the past.

      Thanks!

      posted in User help
      R
      rcopeland
    • RE: Calculate Standard Deviation, Normal Distribution?

      Hello,

      I was wondering if anyone has come up with functions to calculate standard deviation, and come up with a normal distribution graph from any given data set. I understand how it would be possible to calculate standard deviation with meta variables, but it seems like a lot of work to do for something that someone may have done in the past.

      Thanks!

      posted in User help
      R
      rcopeland
    • RE: Problems with Email Event Handler

      Figured it out. Just typed my password in wrong haha. Thanks for the help.

      posted in User help
      R
      rcopeland
    • RE: Problems with Email Event Handler

      Nope still nothing. Is gmail known to work?

      posted in User help
      R
      rcopeland
    • RE: HTTP Retriever Stops Working [update: all data sources hang not just HTTP]

      Besides the "timer already cancelled" messages, the "High priority active count: " seems very high, going up to ~500. I have attached the log file containing the majority of these error messages.

      Attachment: download link

      posted in User help
      R
      rcopeland
    • RE: Problems with Email Event Handler

      Hello all,

      I am currently trying to test out an email event handler, but having some problems. I am getting the error message

      Failed to send email titled "Mango test email" to "rcopeland@gmail.com". Message: "Authentication failed; nested exception is javax.mail.AuthenticationFailedException"
      In the system settings I am using my gmail account settings: host=smtp.gmail.com, port=587, use authorization, username=[myemail]@gmail.com, password=[mypassword], enable TLS. These settings are what the google documentation says for using SMTP from any email client program.

      So far I have been unable to get this working. As long as I am able to send emails I would be willing to use any server (Any free SMTP servers out there?).

      Hints? Suggestions?

      Thanks!!

      posted in User help
      R
      rcopeland
    • Problems with Email Event Handler

      Hello all,

      I am currently trying to test out an email event handler, but having some problems. I am getting the error message

      Failed to send email titled "Mango test email" to "rcopeland@gmail.com". Message: "Authentication failed; nested exception is javax.mail.AuthenticationFailedException"
      In the system settings I am using my gmail account settings: host=smtp.gmail.com, port=587, use authorization, username=[myemail]@gmail.com, password=[mypassword], enable TLS. These settings are what the google documentation says for using SMTP from any email client program.

      So far I have been unable to get this working. As long as I am able to send emails I would be willing to use any server (Any free SMTP servers out there?).

      Hints? Suggestions?

      Thanks!!

      posted in User help
      R
      rcopeland
    • RE: HTTP Retriever Stops Working [update: all data sources hang not just HTTP]

      Not sure why I was having these errors, but they seem to have stopped. The only thing I can think of is I use a LOT of meta data sources, some of which have very long functions, take in the value of MANY points, maybe the functions were timing out/crashing the program.

      posted in User help
      R
      rcopeland
    • RE: Remote viewing of graphic views

      Fairly easy once you get the hang of it. Follow these steps:
      -Create a graphical view to use
      -Set anonymous access on this view to "read"
      -Set the export ID (XID) to whatever you want, for example "public"
      -In your browser type in "http://localhost:8080/public_view.htm?viewXid=public"

      Note that Mango/tomcat must be running in the background. Also instead of the Xid you can use the view's name (viewName=name).

      posted in User help
      R
      rcopeland
    • RE: HTTP Retriever Stops Working [update: all data sources hang not just HTTP]

      Derby. I haven't changed much of anything in Mango other than some graphical elements.

      posted in User help
      R
      rcopeland
    • RE: HTTP Retriever Stops Working [update: all data sources hang not just HTTP]

      More info: this could possbily be a bug with the current version of mango. All of my data sources stop updating within a minute or so of eachother. Even virtual data sources giving random numbers hang, and product the same "timer already cancelled" error if I try to restart them. I am still not sure what causes this problem to happen, but it seems that 45 mintues or so after mango and tomcat is started, the data sources stop.

      I will revert back to a previous version of mango and test this if I have a chance.

      Attachment: download link

      posted in User help
      R
      rcopeland
    • HTTP Retriever Stops Working [update: all data sources hang not just HTTP]

      Hello,

      I am using the HTTP Retriever data source, and it works for a while (not always the same amount of time, but around 30 minutes or so) and then it stops updating. If I go to the datasource and click disable, it disables. But then if I click enable, it give me a error message "Timer already cancelled", and on the Tomcat monitor it gives me > WARN 2011-02-11 09:14:13,953 (org.directwebremoting.util.CommonsLoggingOutput.warn:59) - --Erroring: batchId[5] message[java.lang.IllegalStateException: Timer already cancelled.] Any other changes I try to save to the data source gives the "timer already cancelled" error message.

      I am thinking that mango must get hung up on something, which prevents further updates from happening, even though I have set my retries to 0 and timeout to 10 seconds.

      Extra info: I have tested this on more that one website, and both hang at approximately the same point, indicating that it is not a problem with the website.

      Suggestions? Any help is appreciated!

      posted in User help
      R
      rcopeland
    • RE: HTTP Retriever Stops Working [update: all data sources hang not just HTTP]

      Hello,

      I am using the HTTP Retriever data source, and it works for a while (not always the same amount of time, but around 30 minutes or so) and then it stops updating. If I go to the datasource and click disable, it disables. But then if I click enable, it give me a error message "Timer already cancelled", and on the Tomcat monitor it gives me > WARN 2011-02-11 09:14:13,953 (org.directwebremoting.util.CommonsLoggingOutput.warn:59) - --Erroring: batchId[5] message[java.lang.IllegalStateException: Timer already cancelled.] Any other changes I try to save to the data source gives the "timer already cancelled" error message.

      I am thinking that mango must get hung up on something, which prevents further updates from happening, even though I have set my retries to 0 and timeout to 10 seconds.

      Extra info: I have tested this on more that one website, and both hang at approximately the same point, indicating that it is not a problem with the website.

      Suggestions? Any help is appreciated!

      posted in User help
      R
      rcopeland
    • RE: Multiple point linking in one

      I guess it's more of an issue on the serverside scripts, but I would like to be able to use more than one point on a single script. To do this right now I use a meta data source to combine a few points into one (seperated by commas), and then on my serverside script I have a function which searches the string for the position of commas, and then splits the string into seperate variables.

      This is just a little inconvenient, seems like there should be a better/easier way of doing it.

      posted in Wishlist
      R
      rcopeland
    • RE: Events caused by changes in values over time

      Thanks, I was in the middle of editing my post when you responded (I realized I could use the execution delay but will try your suggestion as well). When I finish configuring my system I will try and post some data in this thread.

      posted in User help
      R
      rcopeland