Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Email notification fails #2684

limor ·
QB fails to send email notifications.
Error:
Sending build notifications...
2014-02-10 19:26:15,982 [Thread-83242] DEBUG com.pmease.quickbuild.DefaultBuildEngine - Sending Tray Monitor & IDE Plugins notifications to:
2014-02-10 19:26:15,985 [Thread-83242] DEBUG com.pmease.quickbuild.DefaultBuildEngine - Sending Email notifications to: limors
2014-02-10 19:26:15,985 [Thread-83242] DEBUG com.pmease.quickbuild.migration.MigrationHelper - Migrating data (migrator: com.pmease.quickbuild.plugin.notifier.email.EmailNotificationTemplate, from version: 0, to version: 1)
2014-02-10 19:26:16,005 [Thread-83242] DEBUG com.pmease.quickbuild.util.MiscUtils - Sending email to: limor@gigaspaces.com
2014-02-10 19:26:16,005 [Thread-83242] DEBUG com.pmease.quickbuild.util.MiscUtils - Using MIME mail
2014-02-10 19:26:16,005 [Thread-83242] INFO com.pmease.quickbuild.util.MiscUtils - Sending email: Build '11500-689' of configuration 'root/xap/trunk/GigaSpaces/Checkout_test' is SUCCESSFUL
2014-02-10 19:26:16,005 [Thread-83242] DEBUG com.pmease.quickbuild.util.MiscUtils - From quickbuild@build64A.gspaces.com
2014-02-10 19:26:16,005 [Thread-83242] DEBUG com.pmease.quickbuild.util.MiscUtils - ReplyTo []
2014-02-10 19:26:16,005 [Thread-83242] DEBUG com.pmease.quickbuild.util.MiscUtils - To [limor@gigaspaces.com]
2014-02-10 19:26:16,006 [Thread-83242] DEBUG com.pmease.quickbuild.util.MiscUtils - Cc []
2014-02-10 19:26:16,006 [Thread-83242] DEBUG com.pmease.quickbuild.util.MiscUtils - Bcc []
2014-02-10 19:26:16,023 [Thread-83242] ERROR com.pmease.quickbuild.DefaultBuildEngine - Error processing build request.
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.util.DateUtils
at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:58)
at com.pmease.quickbuild.util.ExceptionUtils.wrapAsUnchecked(ExceptionUtils.java:82)
at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:366)
at com.pmease.quickbuild.DefaultBuildEngine.access$0(DefaultBuildEngine.java:244)
at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:854)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.util.DateUtils
at org.apache.tools.ant.taskdefs.email.Mailer.getDate(Mailer.java:217)
at org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:206)
at org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java:533)
at com.pmease.quickbuild.util.MiscUtils.sendMail(MiscUtils.java:93)
at com.pmease.quickbuild.plugin.notifier.email.EmailNotifier.notify(EmailNotifier.java:72)
at com.pmease.quickbuild.DefaultBuildEngine.sendNotifications(DefaultBuildEngine.java:708)
at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:352)
... 3 more
  • replies 9
  • views 2648
  • stars 0
robinshen ADMIN ·
This is often caused by not extracting QB correctly. For instance, when you extract QB tar.gz file with unix tar utility not being able to handle long file names. If this is not the case, please send the full log containing this error to [robin AT pmease DOT com], together with info such as QB version, Java version.
limor ·
This is not the case the email notifications worked correctly till now.
I sent you an email with the full server log.
robinshen ADMIN ·
If email working previously, I guess this is caused by some file missing in your JDK installation recently. Please re-install your JDK, or edit "<QB install dir>/conf/wrapper.conf" to point "wrapper.java.command" to a different installation to check if it works.
limor ·
I restarted the machine and java looks ok.
Is there a way to test mail sending from QB? in the Administration tab - Email Settings I don't see the option to test email notification.
Maybe this can be done by command line?
robinshen ADMIN ·
QB currently does not have the option to test sending email. Can you please install latest version of QB to create a test configuration and then send out email from that configuration to check if your JDK installation is fine?
limor ·
Hi

I reinstalled previous version of java, the error I got:
“Problem while sending mime mail:”

I sent you the error message log by email.

Thanks,
Limor
limor ·
Can you answer my last reply.
Thanks
robinshen ADMIN ·
I replied via email last time upon this. From the log, it seems like that you either have not specified smtp user name/password or have specified incorrectly. Smtp settings can be modified in "administration / email setting" page.
limor ·
Thanks
I removed the user and it is working now.