continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivan <i...@dhousestudio.com>
Subject Re: mail-notifier
Date Mon, 17 Dec 2007 10:24:36 GMT


nicklist@planet.nl wrote:
> Take a look at your configuration:
>
>               <property>
>                 <name>mail.smtp.socketFactory.class</name>
>                 <value>javax.net.ssl.SSLSocketFactory</value>
>               </property>
>
> 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:ivan@dhousestudio.com]
> 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.
>
>
>   


Mime
View raw message