51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1988|回复: 3
打印 上一主题 下一主题

[原创] QC9.0与SVN集成后是否会影响集成后的项目无法正常通过QC9.0来发送邮件

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-1-13 12:08:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 lilinuo_2011 于 2012-1-13 14:13 编辑

我成功完成了把QC9.0中的已有项目和SVN进行集成,但是发觉集成后的项目一旦想要通过QC9.0来发送邮件,就会报出如下的错误:
Messages:
Failed to mail the specified entities;
Failed to mail the specified entities;
Failed to send mail to 邮箱地址;
Failed to send the message via mail server '192.168.111.1';
Sending failed;
  nested exception is:
        javax.mail.MessagingException: 550 5.7.1 Requested action not taken: message refused
;
Sending failed;
  nested exception is:
        javax.mail.MessagingException: 550 5.7.1 Requested action not taken: message refused
;

Error Code: 1049

Stack Trace:
javax.mail.SendFailedException: Sending failed;
  nested exception is:
        javax.mail.MessagingException: 550 5.7.1 Requested action not taken: message refused

at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:375)
        wrapped in com.mercury.optane.core.CTdException: Sending failed;
  nested exception is:
        javax.mail.MessagingException: 550 5.7.1 Requested action not taken: message refused

at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:383)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:347)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1280)
        wrapped in com.mercury.optane.core.CTdException: Failed to send the message via mail server '192.168.111.1'
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1282)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:477)
        wrapped in com.mercury.optane.core.CTdException: Failed to send mail to 邮箱地址
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:481)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:436)
        wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:439)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:328)
        wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:345)
at com.mercury.td.web.server.CTdServlet.redirectMailEntity(CTdServlet.java:1086)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:554)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
at com.mercury.td.web.server.CTdServlet.processRequest(CTdServlet.java:319)
at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:418)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)

而没有与SVN进行集成的项目发送邮件会提示“邮件发送成功”,而且之前QC9.0中的所有项目都能够通过QC9.0成功发送邮件,所以想问问大家是否会存在类似的问题?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2012-2-28 13:38:03 | 只看该作者
本帖最后由 lilinuo_2011 于 2012-2-28 16:15 编辑

这个问题已经初步解决,和“收件人”中选择的“邮箱地址”有不可用的有关,但具体为什么某些“邮箱地址”无法正常通过QC发送邮件,我就不知道了......
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2012-2-28 13:40:36 | 只看该作者
本帖最后由 lilinuo_2011 于 2012-2-28 14:57 编辑

Messages:
Failed to mail the specified entities;
Failed to mail the specified entities;
Failed to send mail to 邮箱列表
Failed to send the message via mail server '192.168.111.1';
Sending failed;
  nested exception is:
    javax.mail.MessagingException: Could not connect to SMTP host: 192.168.111.1, port: 25;
Sending failed;
  nested exception is:
    javax.mail.MessagingException: Could not connect to SMTP host: 192.168.111.1, port: 25;

Error Code: 1049

Stack Trace:
javax.mail.SendFailedException: Sending failed;
  nested exception is:
    javax.mail.MessagingException: Could not connect to SMTP host: 192.168.111.1, port: 25
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:375)
    wrapped in com.mercury.optane.core.CTdException: Sending failed;
  nested exception is:
    javax.mail.MessagingException: Could not connect to SMTP host: 192.168.111.1, port: 25
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:383)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:347)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1280)
    wrapped in com.mercury.optane.core.CTdException: Failed to send the message via mail server '192.168.111.1'
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1282)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:477)
    wrapped in com.mercury.optane.core.CTdException: Failed to send mail to
邮箱列表
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:481)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:436)
    wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:439)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:328)
    wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:345)
at com.mercury.td.web.server.CTdServlet.redirectMailEntity(CTdServlet.java:1086)
at sun.reflect.GeneratedMethodAccessor653.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:554)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
at com.mercury.td.web.server.CTdServlet.processRequest(CTdServlet.java:319)
at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:418)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)

上面的错误,现在不太清楚是由于什么原因造成的~~
别人写的软件,出了问题很难很快明白是什么问题~~除非自己写过类似的东西~~或者网上有人也碰到过类似的问题~~
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2012-2-28 16:18:40 | 只看该作者
这个问题,看到论坛中已经有人回答了
无法连接邮件服务器---〉估计是网络上的问题~~
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-16 19:05 , Processed in 0.078712 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表