Re: mail-notifier
[EMAIL PROTECTED] wrote: Take a look at your configuration: mail.smtp.socketFactory.class javax.net.ssl.SSLSocketFactory Maybe if you try it with SocketFactory instead of SSLSocketFactory? Hth, Hi! I just commented this ! And it works! SSL is disable. Nick Stolwijk -Original Message- From: ivan [mailto:[EMAIL PROTECTED] Sent: Mon 12/17/2007 11:04 AM To: continuum-users@maven.apache.org Subject: mail-notifier Hi! I installed continuum as single application and have problem with notifier. I configured plexus.xml like in example (http://maven.apache.org/continuum/documentation/1_1/installation/standalone.html#Mail_server_configuration) but continuum could send mail. 853279 [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.sendMessage(MailContinuumNotifier.java:566) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:387) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:254) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild(DefaultBuildController.java:221) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:175) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$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:619) 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.sendMessage(MailContinuumNotifier.java:562) ... 14 more Caused by: javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:275) at org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(AbstractJavamailMailSender.java:212) ... 15 more Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:521) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744) at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440) ... 19 more May be I forgot to set some other parameters? Thanks.
RE: mail-notifier
Take a look at your configuration: mail.smtp.socketFactory.class javax.net.ssl.SSLSocketFactory Maybe if you try it with SocketFactory instead of SSLSocketFactory? Hth, Nick Stolwijk -Original Message- From: ivan [mailto:[EMAIL PROTECTED] Sent: Mon 12/17/2007 11:04 AM To: continuum-users@maven.apache.org Subject: mail-notifier Hi! I installed continuum as single application and have problem with notifier. I configured plexus.xml like in example (http://maven.apache.org/continuum/documentation/1_1/installation/standalone.html#Mail_server_configuration) but continuum could send mail. 853279 [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.sendMessage(MailContinuumNotifier.java:566) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:387) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:254) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild(DefaultBuildController.java:221) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:175) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$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:619) 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.sendMessage(MailContinuumNotifier.java:562) ... 14 more Caused by: javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:275) at org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(AbstractJavamailMailSender.java:212) ... 15 more Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:521) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744) at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440) ... 19 more May be I forgot to set some other parameters? Thanks.
Re: Mail notifier: change sender address
Hi, In file WEB-INF/classes/META-INF/plexus/application.xml. You will find , add your from here. This need continuum restart. -- Olivier 2007/11/5, Martin Vysny <[EMAIL PROTECTED]>: > > Hi guys, > can you please help me? I need to set sender address different than > the recipient address in the mail notifier. I found [1] but I don't know > where to put those properties. > Thanks, > Martin > > [1] http://maven.apache.org/continuum/configuration.html > > -- > Mgr. Martin Vysny | [EMAIL PROTECTED] > Software Engineer > Whitestein Technologies s.r.o | www.whitestein.com > Panenska 28 | 811 03 Bratislava | Slovak Republic > Main +421 2 5443-5502 | Direct +421 2 5930-0717 > > >
RE: Mail Notifier self-replication
Thanks. As a workaround I've discovered that the notifier added from the nagEmailAddress element in the POM doesn't suffer from this replication so I've added that for this project and am ok for now. James -Original Message- From: Carlo Bonamico [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 8:31 AM To: continuum-users@maven.apache.org Subject: Re: Mail Notifier self-replication Hi Shute, I have the same problem and already created a jira bug report for this. http://jira.codehaus.org/browse/CONTINUUM-678 It should be fixed in the source tree, but I am not sure when the next release will be. Carlo Shute, James wrote: > Hi, > > I'm using 1.0.3 and am having a problem with one of my (Maven 1) > projects. Every time the build runs it adds copies of the configured > Mail Notifiers, so I get an ever expanding number of emails. It looks > like it's doubling each time. > > Other projects are building ok. The main difference with this one is > that it's a multi-project build, (i.e. my target is clean:clean > multiproject:install) - don't know if that's relevant or not. > > The other difference is that when I imported the pom the initial mail > notifier it created looks slightly different to those for the other > projects, in that the ones that work have the 1st notifier with a From > value of "Project", where as this one only has "User" notifiers. > > I can't see anything in any of the mail archives that might help - > anybody got any ideas? > > thanks > > James > > -- > This message is intended only for the personal and > confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. > > > -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Re: Mail Notifier self-replication
Hi Shute, I have the same problem and already created a jira bug report for this. http://jira.codehaus.org/browse/CONTINUUM-678 It should be fixed in the source tree, but I am not sure when the next release will be. Carlo Shute, James wrote: Hi, I'm using 1.0.3 and am having a problem with one of my (Maven 1) projects. Every time the build runs it adds copies of the configured Mail Notifiers, so I get an ever expanding number of emails. It looks like it's doubling each time. Other projects are building ok. The main difference with this one is that it's a multi-project build, (i.e. my target is clean:clean multiproject:install) - don't know if that's relevant or not. The other difference is that when I imported the pom the initial mail notifier it created looks slightly different to those for the other projects, in that the ones that work have the 1st notifier with a From value of "Project", where as this one only has "User" notifiers. I can't see anything in any of the mail archives that might help - anybody got any ideas? thanks James -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Re: Mail notifier configuration in M2 POMs
Thanks Emmanuel ! Yann --- Emmanuel Venisse <[EMAIL PROTECTED]> a écrit : > under is deprecated in m2. You must use > under for continuum > > Emmanuel > > Yann Le Du wrote: > > Hi, > > > > A small question about mail notifiers in Maven 2 POMs (see below). > > > > At first, I'd use (since this is what is displayed in > Maven > > project-info-reports page), but it turns out that only > > > seems to be used by Continuum. I wonder which one is correct (though of > course > > I'm likely to use the second one for the moment) ? > > > > > > continuum > > http://host:8080/continuum/servlet/continuum/ > > > > > > mail > > [EMAIL PROTECTED] > > > > [EMAIL PROTECTED] > > > > > > > > > > > > Regards, > > > > Yann > > > > > > > > > > > > > > ___ > > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > > Téléchargez cette version sur http://fr.messenger.yahoo.com > > > > > > ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com
Re: Mail notifier configuration in M2 POMs
under is deprecated in m2. You must use under for continuum Emmanuel Yann Le Du wrote: Hi, A small question about mail notifiers in Maven 2 POMs (see below). At first, I'd use (since this is what is displayed in Maven project-info-reports page), but it turns out that only seems to be used by Continuum. I wonder which one is correct (though of course I'm likely to use the second one for the moment) ? continuum http://host:8080/continuum/servlet/continuum/ mail [EMAIL PROTECTED] [EMAIL PROTECTED] Regards, Yann ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com