51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2830|回复: 0
打印 上一主题 下一主题

[原创] QC与SVN集成的问题

[复制链接]

该用户从未签到

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

之前把一个项目成功进行了QC9.0与VisualSvn的集成,且使用了一段时间,就在最近突然通过QC群发邮件的时候发生了问题,无法成功发送邮件,错误太长,不再这里粘贴出来了~~
为了查出问题,情急之下我通过qc的后台管理页面,禁用了QC该项目的SVN版本控制,邮件发送的问题没有解决,却同时给我带来了新的麻烦,在禁用SVN版本控制前,我在该项目写的部分测试用例并没有CHECK IN,为了想恢复之前写了但没有提交的用例,我在QC后台管理页面重新启用版本控制,可是怎么启用都失败,报出如下的问题:
Messages:
Failed to Do VCSAction;
Failed to perform VCS Action;

Stack Trace:
com.mercury.td.vc_plugin.vcutil.CVcException: Plugin failed to create vc project.
RA layer request failed
svn: DELETE of '/svn/TCC_QA_SOFT/!svn/wrk/db780a0d-c6d8-784e-bf01-7b92b3bc8ce3/RESV': 403 Forbidden (http://172.16.200.30:8282)

at CTdJavaPlugIn.createVcProjectEx(CTdJavaPlugIn.java:161)
at com.mercury.td.vc_plugin.PluginExtTo2Adapter.createVcProject(PluginExtTo2Adapter.java:119)
at com.mercury.td.tdserver.api.logics.vc.VcToolConnector.createVcProject(VcToolConnector.java:329)
at com.mercury.td.tdserver.api.logics.vc.VcAdministration.enableVersionControlDb(VcAdministration.java:166)
        wrapped in com.mercury.optane.core.CTdException: Failed to enable version control data base...
at com.mercury.td.tdserver.api.logics.vc.VcAdministration.enableVersionControlDb(VcAdministration.java:193)
at com.mercury.td.tdserver.proxy.CQcProxy.createVcsDb(CQcProxy.java:43)
at com.mercury.qcproxy.CQcRemoteProxy.createVcsDb(CQcRemoteProxy.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        wrapped in java.lang.reflect.InvocationTargetException
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.jndiproxy.CAbsJndiProxy.callRemoteMethod(CAbsJndiProxy.java:117)
        wrapped in com.mercury.optane.core.CTdException:
at com.mercury.optane.core.jndiproxy.CAbsJndiProxy.callRemoteMethod(CAbsJndiProxy.java:167)
at com.mercury.optane.core.jndiproxy.CAbsJndiProxy.callRemoteMethod(CAbsJndiProxy.java:79)
at com.mercury.qcproxy.CQcJndiProxy.activateMethodWithCallback(CQcJndiProxy.java:147)
at com.mercury.qcproxy.CQcJndiProxy.createVcsDb(CQcJndiProxy.java:47)
at com.mercury.td.saserver.api.logics.CProjectLogic.doVcsAction(CProjectLogic.java:571)
        wrapped in com.mercury.optane.core.CTdException: Failed to perform VCS Action
at com.mercury.td.saserver.api.logics.CProjectLogic.doVcsAction(CProjectLogic.java:600)
at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectDoVCSAction(CTdSiteAdminServlet.java:437)
at sun.reflect.GeneratedMethodAccessor155.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)
        wrapped in com.mercury.optane.core.CTdException: Failed to Do VCSAction
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:560)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
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版本控制之前,必须先check in该项目中所有的测试用例,麻烦哪位大虾能够解决该问题?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-16 19:41 , Processed in 0.066084 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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