> The configuration you posted from that very old article may not be > exactly what Continuum 1.1 wants, but that's the right idea. Replace
> localhost with your mail server, such as "smtp.myisp.com". Does anybody know what exactly Continuum1.1 wants, in regards to configuring the Mail Notifier? Ok, based on the http://continuum.apache.org/configuration.html documentation I see I need to configure the mail notifier component which is associated to the following class: org.apache.maven.continuum.notification.mail.MailContinuumNotifier. However it is not clear on the right field/method name of the MailContinuumNotifier. Is there a way to get the source code or JavaDocs for this class so I can know what methods/fields are available for configuration? Here is how I am trying to configure this component in the ContinuumHome\WEB-INF\classes\META-INF\plexus\application.xml file: <component> .. <alwaysSend>false</alwaysSend> <from-mailbox>myEmailHere</from-mailbox> <from-name>myNameHere</from-name> <smtp-host>smtp.att.yahoo.com</smtp-host> <smtp-port>25</smtp-port> <sslConnection>true</sslConnection> </configuration> </component> I get the following error: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Cannot find setter nor field in org.apache.maven.continuum.notification.mail.MailContinuumNotifier for 'smtpHost' If I am way off base on this, PLEASE let me know what I am doing wrong! Thanks! Tonté _____ From: Tonté [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 12:31 AM To: '[email protected]' Subject: RE: Continuum Mail Notifier Issue Ok, I was able to get Continuum to pick up my new changes (See Below Changes found, building), but it still will not send email notification to me. I have Notifiers set up for the following events: Success/Failures/Warnings/Errors. Does anybody have a clue to why it not sending out the notifications. I don't have any error messages in my log files. 190172 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Merging SCM results 3190204 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Changes found, building 3190204 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Performing action update-project-from-working-directory 3190219 [pool-1-thread-1] INFO org.codehaus.plexus.action.Action:update-project-from-working-directory - Updating project 'peas-misc' from checkout. 3190438 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Performing action execute-builder 3190516 [pool-1-thread-1] WARN org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2 - Could not find the executable 'mvn' in this path: 3190563 [pool-1-thread-1] INFO org.apache.maven.continuum.utils.shell.ShellCommandHelper:default - Executing: cmd.exe /X /C '"mvn --batch-mode --non-recursive -Dcontinuum.project.lastBuild.state=2 -Dcontinuum.project.nextBuild.number=10 -Dcontinuum.project.group.name=peas-misc -Dcontinuum.project.lastBuild.number=9 clean install"' 3190563 [pool-1-thread-1] INFO org.apache.maven.continuum.utils.shell.ShellCommandHelper:default - Working directory: C:\webplatform\servers\tomcat\apache-tomcat-6.0.14\webapps\continuum\WEB-INF \working-directory\11 3196641 [pool-1-thread-1] INFO org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2 - Exit code: 0 3196797 [pool-1-thread-1] INFO org.apache.maven.continuum.buildcontroller.BuildController:default - Performing action deploy-artifact 3196844 [pool-1-thread-1] INFO org.codehaus.plexus.notification.notifier.Notifier:mail - Same state, not sending message. 3196860 [pool-1-thread-1] INFO org.codehaus.plexus.notification.notifier.Notifier:mail - Same state, not sending message. -----Original Message----- From: Tonté [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 12:12 AM To: '[email protected]' Subject: RE: Continuum Mail Notifier Issue Ok, thanks I that clears up a bunch of question I had. I have not been able to confirm the email notification because Continuum keep saying its the "Same state, not sending message", even though I have made changes to my source code and committed it to my subversion repo. How do I get Continuum to pick up the changes I commit to my Subversion repo? Granted, I only made one small change (I added one method and save and committed it). Thanks! Tonté -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 12:05 AM To: [email protected] Subject: Re: Continuum Mail Notifier Issue On Thu, Mar 13, 2008 at 8:58 PM, Tonte Pouncil <[EMAIL PROTECTED]> wrote: > I am running into a problem with the mail notifiers in Continuum. I am getting a > "java.net.SocketException: Connection reset" error message. Why am I getting this error? Sounds like it can't connect to the mail server. From your other messages I'm going to assume this is on Windows and you're using the .war file in Tomcat. (It may seem redundant, but it helps to give that information for each new question you post.) If it's Windows, chances are, you're not running something like sendmail, so you'll need to configure Continuum to use whatever smtp server you normally use to send email. The configuration you posted from that very old article may not be exactly what Continuum 1.1 wants, but that's the right idea. Replace localhost with your mail server, such as "smtp.myisp.com". -- Wendy
