|
下面是错误代码,请高手帮我分析分析,是哪里出了问题?更奇怪的事 导入小的项目时没有问题,大点的项目就会报错。
to Import Project;
Failed to create Quality Center project;
Failed to create project '物美杂百';
Failed to import new project '物美杂百';
Error in writing to table REPOSITORY;
[Mercury][SQLServer JDBC Driver]The DBMS returned an unspecified error. The command code was 0.;
Stack Trace:
com.mercury.jdbc.base.BaseBatchUpdateException: [Mercury][SQLServer JDBC Driver]The DBMS returned an unspecified error. The command code was 0.
at com.mercury.jdbc.sqlserver.SQLServerImplStatement.getBatchRowsAffectedCount(Unknown Source)
at com.mercury.jdbc.base.BasePreparedStatement.executeBatch(Unknown Source)
at com.mercury.optane.core.db.CTdPreparedStatement.executeBatch(CTdPreparedStatement.java:1860)
at com.mercury.optane.core.db.convertor.CDBWriter.executeBatch(CDBWriter.java:613)
at com.mercury.optane.core.db.convertor.CDBWriter.writeData(CDBWriter.java:503)
wrapped in com.mercury.optane.core.CTdException: Error in writing to table REPOSITORY
at com.mercury.optane.core.db.convertor.CDBWriter.writeData(CDBWriter.java:540)
at com.mercury.optane.core.db.convertor.CDBForRawWriter.writeData(CDBForRawWriter.java:53)
at com.mercury.optane.core.db.convertor.CDBConvertor.copyTableData(CDBConvertor.java:776)
at com.mercury.optane.core.db.convertor.CDBConvertor.createTable(CDBConvertor.java:723)
at com.mercury.optane.core.db.convertor.CDBConvertor.convert(CDBConvertor.java:671)
at com.mercury.optane.core.db.convertor.CDBConvertor.convert(CDBConvertor.java:636)
at com.mercury.optane.core.db.convertor.CDBConvertor.convertRaw2DB(CDBConvertor.java:386)
at com.mercury.optane.core.db.convertor.CDBConvertor.convertRaw2DB(CDBConvertor.java:357)
at com.mercury.optane.core.db.convertor.CDBProject.importRawProject(CDBProject.java:231)
at com.mercury.td.saserver.api.logics.CProjectLogic.importNewTdProject(CProjectLogic.java:4291)
wrapped in com.mercury.optane.core.CTdException: Failed to import new project '物美杂百'
at com.mercury.td.saserver.api.logics.CProjectLogic.importNewTdProject(CProjectLogic.java:4302)
at com.mercury.td.saserver.api.logics.CProjectLogic.createProject(CProjectLogic.java:1684)
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.api.logics.CProjectLogic.importProject(CProjectLogic.java:1524)
at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectImportProject(CTdSiteAdminServlet.java:336)
at sun.reflect.GeneratedMethodAccessor417.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 Import 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) |
|