• 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

    Reports

    User help
    2
    4
    1.9k
    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.
    • L
      LarryE
      last edited by

      I have a report and an email list. I have set it to run every day, and email to 3 users. I tested the email and all got the test emails but the report when it ran gave me this event error.

      Failed to send email titled " IN Line - scheduled report" to "edwardl@keysafetyinc.com, LeeM@keysafetyinc.com, smithb4@keysafetyinc.com". Message: "Failed messages: javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.FileNotFoundException: C:\Users\edwardl\Desktop\Mango2.6\web\images\logo.png (The system cannot find the file specified)"Add comment

      I am not sure whats wrong, is the logo.png stoping the report email? The file is there.

      Larry

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

        The only thing I can think of is that the file is not there or that you don't have permissions to access it. Both of those seem unlikely though. Can you post the log file output at that time?

        1 Reply Last reply Reply Quote 0
        • L
          LarryE
          last edited by

          I am sure that I have done something wrong in the reports setup, but not sure how to find out what.
          Here is last nights log file cut around the error.

          INFO 2015-10-27 12:03:55,521 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSource:299) - Data source 'IN Stud Welder' initialized
          INFO 2015-10-27 12:03:55,521 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSource:304) - Data source 'IN Stud Welder' took 102.286471ms to start
          INFO 2015-10-27 12:14:52,278 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSource:331) - Data source 'IN Stud Welder' stopped
          INFO 2015-10-27 12:14:52,309 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSource:299) - Data source 'IN Stud Welder' initialized
          INFO 2015-10-27 12:14:52,309 (com.serotonin.m2m2.rt.RuntimeManager.initializeDataSource:304) - Data source 'IN Stud Welder' took 22.415385ms to start
          WARN 2015-10-27 15:07:36,305 (com.serotonin.m2m2.rt.LoginManager.performLogin:162) - Failed login attempt on user 'IN' from IP +172.20.19.236
          WARN 2015-10-28 00:00:02,275 (com.serotonin.m2m2.rt.maint.work.EmailWorkItem.execute:90) - Error sending email org.springframework.mail.MailSendException: Failed messages: javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.FileNotFoundException: C:\Users\edwardl\Desktop\Mango2.6\web\images\logo.png (The system cannot find the file specified); message exception details (1) are: Failed message 1: javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.FileNotFoundException: C:\Users\edwardl\Desktop\Mango2.6\web\images\logo.png (The system cannot find the file specified) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1167) at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:424) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:346) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:363) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:351) at com.serotonin.web.mail.EmailSender.send(EmailSender.java:199) at com.serotonin.web.mail.EmailSender.send(EmailSender.java:190) at com.serotonin.web.mail.EmailSender.send(EmailSender.java:143) at com.serotonin.m2m2.rt.maint.work.EmailWorkItem.execute(EmailWorkItem.java:87) at com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run(BackgroundProcessing.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.FileNotFoundException: C:\Users\edwardl\Desktop\Mango2.6\web\images\logo.png (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:146) at javax.activation.FileDataSource.getInputStream(FileDataSource.java:97) at javax.activation.DataHandler.writeTo(DataHandler.java:305) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1574) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:948) at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:538) at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103) at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:889) at javax.activation.DataHandler.writeTo(DataHandler.java:317) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1574) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:948) at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:538) at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103) at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:889) at javax.activation.DataHandler.writeTo(DataHandler.java:317) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1574) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1840) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1119) ... 12 more
          INFO 2015-10-28 00:05:00,008 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.execute:94) - Starting database backup WorkItem.
          INFO 2015-10-28 00:05:00,008 (com.serotonin.m2m2.rt.maint.work.BackupWorkItem.execute:102) - Starting backup WorkItem.
          INFO 2015-10-28 00:05:00,008 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.createLogOutputStream:179) - Writing upgrade log to C:\Users\edwardl\Desktop\Mango2.6\logs\com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.log
          INFO 2015-10-28 03:05:00,008 (com.serotonin.m2m2.rt.maint.DataPurge.executeImpl:65) - Data purge started
          INFO 2015-10-28 03:05:00,048 (com.infiniteautomation.nosql.MangoNoSqlPointValueDao.deletePointValuesBefore:254) - Deleting point values for data point 34 before: 1414468800000
          INFO 2015-10-28 03:05:00,048 (com.infiniteautomation.nosql.MangoNoSqlPointValueDao.deletePointValuesBefore:254) - Deleting point values for data point 69 before: 1414468800000
          INFO 2015-10-28 03:05:00,048 (com.infiniteautomation.nosql.MangoNoSqlPointValueDao.deletePointValuesBefore:254) - Deleting point values for data point 70 before: 1414468800000
          INFO 2015-10-28 03:05:00,048 (com.infiniteautomation.nosql.MangoNoSqlPointValueDao.deletePointValuesBefore:254) - Deleting point values for data point 71 before: 1414468800000

          1 Reply Last reply Reply Quote 0
          • L
            LarryE
            last edited by

            I found it and the reports are working fine. logo.png was a blank file. o size......... replaced with a real file and it works.
            Thanks for your help.

            Larry

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