wangwangtest 发表于 2012-8-24 10:38:44

QC9.0项目导入报错

各位,大家好:

有一件事情要求助:

机器A:系统2003,数据库,oracle10g;qc9.0
机器B:系统xp,数据库oracle10g;qc9.0

从A中导出项目,生成QCP文件,导入B时,报错:
Messages:
Failed to Import Project;
Failed to create Quality Center project;
Failed to create project 'test';
Failed to import new project 'test';
Error on copy from is to os;
Unexpected end of ZLIB input stream;

Stack Trace:
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
at com.mercury.optane.core.utils.zip.MercZipInputStream.read(MercZipInputStream.java:207)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
at java.io.BufferedInputStream.read(BufferedInputStream.java:280)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at com.mercury.optane.core.utils.stream.StreamUtils.copyIsToOs(StreamUtils.java:51)
        wrapped in com.mercury.optane.core.CTdException: Error on copy from is to os
at com.mercury.optane.core.utils.stream.StreamUtils.copyIsToOs(StreamUtils.java:57)
at com.mercury.optane.core.utils.stream.StreamUtils.copyIsToOs(StreamUtils.java:84)
at com.mercury.optane.core.utils.stream.StreamUtils.copyIsToOs(StreamUtils.java:70)
at com.mercury.optane.core.utils.stream.FileStreamer.extractToDisk(FileStreamer.java:193)
at com.mercury.optane.core.utils.stream.FileStreamer.extractToDisk(FileStreamer.java:151)
at com.mercury.optane.core.utils.zip.Zipper.unzipFile(Zipper.java:114)
at com.mercury.td.saserver.api.logics.CProjectLogic.importNewTdProject(CProjectLogic.java:4283)
        wrapped in com.mercury.optane.core.CTdException: Failed to import new project 'test'
at com.mercury.td.saserver.api.logics.CProjectLogic.importNewTdProject(CProjectLogic.java:4303)
at com.mercury.td.saserver.api.logics.CProjectLogic.createProject(CProjectLogic.java:1684)
        wrapped in com.mercury.optane.core.CTdException: Failed to create project 'test'
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.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 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)



请问用什么方法,能将A上的项目转移到B上,谢谢大家!
页: [1]
查看完整版本: QC9.0项目导入报错