continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tianxiang (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-1717) The mail notifier causes Exception [user james as MailServer]
Date Fri, 04 Apr 2008 11:03:58 GMT
The mail notifier causes Exception [user james as MailServer]
-------------------------------------------------------------

                 Key: CONTINUUM-1717
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1717
             Project: Continuum
          Issue Type: Bug
          Components: Notifier - Mail
         Environment: continuum1.1 + maven2 + james
            Reporter: tianxiang


it's my configurations:
-------------------------------------------------------------
plexus.xml
...........
<resource>
            <name>mail/Session</name>
            <type>javax.mail.Session</type>
            <properties>
              <property>
                <name>mail.smtp.host</name>
                <value>qtx.cn</value>
              </property>
              <property>
                <name>mail.smtp.port</name>
                <value>25</value>
              </property>

              <!-- account -->
              <property> 
                <name>mail.smtp.auth</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.user</name>
                <value>qtx@qtx.cn</value>
              </property>
              <property>
                <name>password</name>
                <value>1111111</value>
              </property>
              <property>
                <name>mail.smtp.debug</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.starttls.enable</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.socketFactory.class</name>
                <value>javax.net.ssl.SSLSocketFactory</value>
              </property>
            </properties>
          </resource>
---------------------------------------------------------------------------------
pom.xml:
<ciManagement>
	<system>Continuum</system>
	<url>http://localhost:8080/continuum</url>
	<notifiers>
	   <notifier>
	      <type>mail</type>
	      <address>tianxiang@qtx.cn</address>
	  </notifier>

	  <notifier>
	    <type>mail</type>
	    <address>qtx@qtx.cn</address>
	  </notifier>
	</notifiers>
  </ciManagement>

The Exception logged in continuum log file :
--------------------------------------------------------------------------------
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(DefaultContinuumNotificationDis
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDis
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispat
	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:523)   
                                         
	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                                                                             
                                         
2008-04-04 17:57:20,671 [pool-1-thread-1] INFO  org.codehaus.plexus.notification.notifier.Notifier:mail
 - Message Subject: '[continuum]
2008-04-04 17:57:20,671 [pool-1-thread-1] INFO  org.codehaus.plexus.notification.notifier.Notifier:mail
 - Sending message: From '"Conti
2008-04-04 17:57:20,671 [pool-1-thread-1] INFO  org.codehaus.plexus.notification.notifier.Notifier:mail
 - Recipient: To '<qtx@qtx.cn>'.
DEBUG: setDebug: JavaMail version 1.4ea                                                  
                                              
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]                
DEBUG SMTP: useEhlo true, useAuth true                                                   
                                              
DEBUG SMTP: trying to connect to host "qtx.cn", port 25, isSSL false                     
                                              
DEBUG SMTP: exception reading response: javax.net.ssl.SSLException: Unrecognized SSL message,
plaintext connection?                     
2008-04-04 17:57:20,687 [pool-1-thread-1] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:default
 - Error
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(DefaultContinuumNotificationDis
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDis
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispat
	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:523)   
                                         
	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                                                                             
                                         

Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message