|
QC9.0安装后,一开始创建域、创建项目都是正常的,但是今天再创建项目时,突然无法创建,一直是失败的。请大家帮忙看看如何解决?
项目失败的错误信息如下:
create Quality Center project;
Failed to create project '项目';
Failed to create new project '项目';
Can't load database;
CMSSQLCreator : Unable to create database default_项目_db;
Failed to set grants to user td;
[Mercury][SQLServer JDBC Driver][SQLServer]不存在这样的用户或组: 'td'。;
Stack Trace:
java.sql.SQLException: [Mercury][SQLServer JDBC Driver][SQLServer]不存在这样的用户或组: 'td'。
at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.mercury.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.executeInternal(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.execute(Unknown Source)
at com.mercury.optane.core.db.CTdStatement.execute(CTdStatement.java:157)
at com.mercury.optane.core.db.user.CGrantAdministrator.grantMssqlPrivileges(CGrantAdministrator.java:80)
wrapped in com.mercury.optane.core.db.CTdDbException: Failed to set grants to user td
at com.mercury.optane.core.db.user.CGrantAdministrator.grantMssqlPrivileges(CGrantAdministrator.java:83)
at com.mercury.optane.core.db.user.CGrantAdministrator.initialize(CGrantAdministrator.java:58)
at com.mercury.optane.core.db.user.CCompoundDBUserInitializer.initialize(CCompoundDBUserInitializer.java:40)
at com.mercury.optane.core.db.convertor.CMSSQLDBCreator.createDB(CMSSQLDBCreator.java:239)
wrapped in com.mercury.optane.core.CTdException: CMSSQLCreator : Unable to create database default_项目_db
at com.mercury.optane.core.db.convertor.CMSSQLDBCreator.createDB(CMSSQLDBCreator.java:244)
at com.mercury.optane.core.db.convertor.CDBWriter.load(CDBWriter.java:175)
wrapped in com.mercury.optane.core.CTdException: Can't load database
at com.mercury.optane.core.db.convertor.CDBWriter.load(CDBWriter.java:212)
at com.mercury.optane.core.db.convertor.CDBConvertor.load(CDBConvertor.java:85)
at com.mercury.optane.core.db.convertor.CDBConvertor.load(CDBConvertor.java:139)
at com.mercury.optane.core.db.convertor.CDBConvertor.convertXML2DB(CDBConvertor.java:320)
at com.mercury.optane.core.db.convertor.CDBConvertor.convertXML2DB(CDBConvertor.java:293)
at com.mercury.optane.core.db.convertor.CDBProject.importProject(CDBProject.java:216)
at com.mercury.optane.core.db.convertor.CDBProject.importProject(CDBProject.java:190)
at com.mercury.td.saserver.api.logics.CProjectLogic.createNewTdProject(CProjectLogic.java:4238)
wrapped in com.mercury.optane.core.CTdException: Failed to create new project '项目'
at com.mercury.td.saserver.api.logics.CProjectLogic.createNewTdProject(CProjectLogic.java:4249)
at com.mercury.td.saserver.api.logics.CProjectLogic.createProject(CProjectLogic.java:1681)
wrapped in com.mercury.optane.core.CTdException: Failed to create project '项目'
at com.mercury.td.saserver.api.logics.CProjectLogic.createProject(CProjectLogic.java:1699)
wrapped in com.mercury.optane.core.CTdException: Failed to create Quality Center project
at com.mercury.td.saserver.api.logics.CProjectLogic.createProject(CProjectLogic.java:1740)
at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectCreateProject(CTdSiteAdminServlet.java:326)
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)
wrapped in com.mercury.optane.core.CTdException: Failed to Create Project
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) |
|