Hi,
I installed Continuum 1.3.4 (build nr 807129) and am having problems to
send email at the end of a build.
I am using windows XP, SP3. Continuum is running as a service, with the
same user as I am currently logged on (not the system account).
In the continuum.log file I see following error message:
2009-11-10 17:01:41,008 [pool-1-thread-1] ERROR
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher - Error while trying to use the mail notifier.
org.apache.maven.continuum.notification.NotificationException: Error
while generating mail contents.
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:409)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:306)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
essage(MailContinuumNotifier.java:280)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:194)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:149)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:97)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBui
ld(DefaultBuildController.java:230)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:187)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
uteTask(BuildProjectTaskExecutor.java:48)
at
org.apache.continuum.taskqueueexecutor.ParallelBuildsThreadedTaskQueueEx
ecutor$ExecutorRunnable$1.run(ParallelBuildsThreadedTaskQueueExecutor.ja
va:120)
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.runWor
ker(ThreadPoolExecutor.java:987)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Unknown Source)
Caused by:
org.apache.maven.continuum.installation.InstallationException: cli to
get mvn version return code 1
at
org.apache.continuum.installation.DefaultInstallationService.getExecutor
ConfiguratorVersion(DefaultInstallationService.java:440)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.getBu
ilderVersion(MailContinuumNotifier.java:559)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:382)
... 14 more
The build itself is working as expected, only sending the email is not
working.
When I edit the users information, and hit the "Resend Validation"
button, this sends an email, so I think that the plexus.xml and
application.xml file are correct.
Extract of application.xml:
<configuration>
<timestamp-format>EEE d MMM yyyy HH:mm:ss Z</timestamp-format>
<buildSubjectFormat>continuum build</buildSubjectFormat>
<prepareBuildSubjectFormat>PREPARE
BUILD</prepareBuildSubjectFormat>
<includeBuildSummary>false</includeBuildSummary>
<includeTestSummary>false</includeTestSummary>
<includeBuildOutput>false</includeBuildOutput>
<alwaysSend>true</alwaysSend>
<toOverride></toOverride>
</configuration>
Any help would be much appreciated.
Kind regards,
Jan
DISCLAIMER:
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified that
any dissemination, distribution or copying of this message and/or attachments
is strictly prohibited. The company accepts no liability for any damage caused
by any virus transmitted by this email. Furthermore, the company does not
warrant a proper and complete transmission of this information, nor does it
accept liability for any delays. If you have received this message in error,
please contact the sender and delete the message. Thank you.