continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hideki YOKOTA <yokota-...@necst.nec.co.jp>
Subject Re: Does email notifier support SMTP Auth?
Date Fri, 23 Jun 2006 01:16:06 GMT
Thank you for your reply.

I checked my antivirus logs, then I found it blocks sending email.

Emmanuel Venisse wrote:
> yes, SMTP auth is supported.
> 
> it seems you have a connection pb to your server :
> 
>  > javax.mail.MessagingException: Could not connect to SMTP host:
>  > my.smtp.server, port: 25;
>  > INFO   | jvm 1    | 2006/06/22 14:00:09 |   nested exception is:
>  > INFO   | jvm 1    | 2006/06/22 14:00:09 |     java.net.SocketException:
>  > Software caused connection abort: connect
> 
> After a little search on google ( 
> http://www.google.fr/search?q=javamail+Software+caused+connection+abort%3A+connect 
> ), it seems it's a problem with you antivirus
> 
> Emmanuel
> 
> Hideki YOKOTA a écrit :
>> Hi all,
>>
>> I'm a newbie of using continuum 1.0.3.
>> As I mentioned in subject, does email notifier support SMTP Auth?
>>
>> I enabled <username> and <password> element in application.xml,
>> but it looks like it didn't work
>>
>> --------------------------------------------------------
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | 2006-06-22 14:00:09,157
>> [Thread-2] INFO  Notifier:mail                  - Sending message:
>>> From '"my_address" <my_address>'.
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | 2006-06-22 14:00:09,157
>> [Thread-2] INFO  Notifier:mail                  - Recipient: To
>> '<my_address>'.
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | DEBUG: setDebug: JavaMail
>> version 1.3.2
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | DEBUG: getProvider()
>> returning 
>> javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
>> Microsystems, Inc]
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | DEBUG SMTP: useEhlo true, 
>> useAuth true
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | DEBUG SMTP: useEhlo true, 
>> useAuth true
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | DEBUG SMTP: trying to
>> connect to host "my.smtp.server", port 25, isSSL false
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | 2006-06-22 14:00:09,157
>> [Thread-2] ERROR ContinuumNotificationDispatcher - Error while trying
>> to use the mailnotifier.
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |
>> org.codehaus.plexus.notification.NotificationException: Exception
>> while sending message.
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:403)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:307)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:202)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:173)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:378)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> java.lang.Thread.run(Thread.java:534)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | Caused by:
>> org.codehaus.plexus.mailsender.MailSenderException: Error while
>> sending mail.
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:217)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:399)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     ... 8 more
>> INFO   | jvm 1    | 2006/06/22 14:00:09 | Caused by:
>> javax.mail.MessagingException: Could not connect to SMTP host:
>> my.smtp.server, port: 25;
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |   nested exception is:
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     java.net.SocketException:
>> Software caused connection abort: connect
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1213)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> javax.mail.Service.connect(Service.java:255)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> javax.mail.Service.connect(Service.java:134)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> javax.mail.Service.connect(Service.java:86)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> javax.mail.Transport.send0(Transport.java:150)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> javax.mail.Transport.send(Transport.java:80)
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     at
>> org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:213)

>>
>> INFO   | jvm 1    | 2006/06/22 14:00:09 |     ... 9 more
>> ------------------------------------------------------------------------------- 
>>
>>
>> Thanks in advance.
> 
> 

Mime
View raw message