0
我是在Windows Server 2008上使用巡航控制和我面臨的下一個問題 - 當我嘗試發送郵件通知我得到這個錯誤:CruiseControl的64位運Server 2008上
2012-01-03 12:25:24,821 [RemoteDelivery-1] ERROR Aspirin - RemoteDelivery (RemoteDelivery-1).deliver():
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 530 SMTP authentication is required.
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:804)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
at org.masukomi.aspirin.core.RemoteDelivery.deliver(RemoteDelivery.java:291)
at org.masukomi.aspirin.core.RemoteDelivery.run(RemoteDelivery.java:586)
我也得到下面的錯誤,我無法通過瀏覽器連接到儀表板。
012-01-03 12:15:23,946 [Timer-6 ] WARN BuildLoopStatusReportTask - Failed to reach dashboard instance : http://localhost:8080/dashboard/buildloop/listener, either the dashboard has not started up or there is a network problem.
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at net.sourceforge.cruisecontrol.report.BuildLoopStatusReportTask.run(BuildLoopStatusReportTask.java:90)
at net.sourceforge.cruisecontrol.report.BuildLoopStatusReportTask.run(BuildLoopStatusReportTask.java:75)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
在此之前,我使用了與WinXP相同的CruiseControl配置,它工作正常。但在贏得2008年的服務器上我遇到了這些問題。請幫忙。
解決方法: 第二個問題是通過卸載java 7和安裝java 6修復的。 第一個問題是由錯誤的smtphost和端口引起的。