You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by "Morgovsky, Alexander (US - Glen Mills)" <am...@deloitte.com> on 2008/07/20 21:12:35 UTC

Email Notifications - C 1.1

I get the following error when Continuum tries to send email on a build
failure, I found this in the continuum.log.  Could someone please advise
me what I should do to fix this?  Thanks.

 

60477483 [pool-1-thread-1] INFO
org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
Exit code: 1

60477530 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Performing action deploy-artifact

60478077 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Message
Subject: '[continuum] BUILD FAILURE: DTT Common Maven -
Deloitte-Common-i18n - Build Def: default maven2 buildDefinition'.

60478077 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Sending
message: From '"Continuum@usatrame6607"
<amorgovsky@deloitte.com,ewolf@deloitte.com,jsendelbach@deloitte.com,cbo
urque@deloitte.com,bracurtis@deloitte.com,rmonterola@deloitte.com>'.

60478077 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Recipient: To
'<br...@deloitte.com>'.

60478077 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Recipient: To
'<am...@deloitte.com>'.

60478077 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Recipient: To
'<js...@deloitte.com>'.

60478077 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Recipient: To
'<cb...@deloitte.com>'.

60478077 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Recipient: To
'<rm...@deloitte.com>'.

60478077 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Recipient: To
'<ew...@deloitte.com>'.

60478077 [pool-1-thread-1] ERROR
org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
default  - Error while trying to use the mail notifier.

org.codehaus.plexus.notification.NotificationException: Exception while
sending message.

          at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
essage(MailContinuumNotifier.java:566)

          at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:387)

          at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendN
otification(MailContinuumNotifier.java:254)

          at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199)

          at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151)

          at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)

          at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBui
ld(DefaultBuildController.java:221)

          at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:175)

          at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
uteTask(BuildProjectTaskExecutor.java:50)

          at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)

          at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
.call(Executors.java:442)

          at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
.java:176)

          at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)

          at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)

          at java.lang.Thread.run(Thread.java:595)

Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error
while sending the message.

          at
org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
AbstractJavamailMailSender.java:226)

          at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
essage(MailContinuumNotifier.java:562)

          ... 14 more

Caused by: javax.mail.internet.AddressException: Illegal route-addr in
string
``amorgovsky@deloitte.com,ewolf@deloitte.com,jsendelbach@deloitte.com,cb
ourque@deloitte.com,bracurtis@deloitte.com,rmonterola@deloitte.com''

          at
javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:88
3)

          at
javax.mail.internet.InternetAddress.parse(InternetAddress.java:819)

          at
javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)

          at
javax.mail.internet.InternetAddress.<init>(InternetAddress.java:91)

          at
org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
AbstractJavamailMailSender.java:123)

          ... 15 more 


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]

Re: Email Notifications - C 1.1

Posted by Wendy Smoak <ws...@gmail.com>.
On Sun, Jul 20, 2008 at 12:12 PM, Morgovsky, Alexander (US - Glen
Mills) <am...@deloitte.com> wrote:
> I get the following error when Continuum tries to send email on a build
> failure, I found this in the continuum.log.  Could someone please advise
> me what I should do to fix this?  Thanks.

How did you configure it?  It looks like you put several email
addresses into one field, which (apparently) doesn't work.

The best way to notify multiple people is to have Continuum send to a
mailing list, and then have people subscribe to the list or watch an
RSS feed.  If that's not an option, you might need to configure
multiple notifiers.

A quick look around [1] the mailing list archives and JIRA turned up
this issue:
  http://jira.codehaus.org/browse/CONTINUUM-860 .

I don't see a second issue requesting the ability to configure
multiple email addresses per notifier, so you may want to open one.

[1] http://continuum.markmail.org/search/?q=multiple+email

-- 
Wendy