Problem Repository Import/Export
Hi Jazz-Team/Community,
I have the following problem: when I export a repository with Repotools and reimport it, the sprint backlog is not displayed anymore and I get the following error message. Any idea how to fix it? com.ibm.team.repository.common.ItemNotFoundException: CRJAZ0215I Item not found: com.ibm.team.process.internal.common.impl.IterationHandleImpl@10a410a4 (stateId: <unset>, itemId: , origin: <unset>, immutable: <unset>) at com.ibm.team.repository.service.internal.RepositoryItemService.internalDoFetchItem(RepositoryItemService.java:641) at com.ibm.team.repository.service.internal.RepositoryItemService.doFetchItem(RepositoryItemService.java:631) at com.ibm.team.repository.service.internal.RepositoryItemService.access$6(RepositoryItemService.java:628) at com.ibm.team.repository.service.internal.RepositoryItemService$6.run(RepositoryItemService.java:608) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:455) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:286) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:241) at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:74) at sun.reflect.GeneratedMethodAccessor82.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55) at $Proxy31.runInTransaction(null) at com.ibm.team.repository.service.internal.RepositoryItemService.fetchItem(RepositoryItemService.java:606) at sun.reflect.GeneratedMethodAccessor101.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55) at $Proxy57.fetchItem(null) at com.ibm.team.repository.service.internal.ComponentRepositoryItemService.fetchItem(ComponentRepositoryItemService.java:193) at com.ibm.team.workitem.service.internal.AuditableServer.resolveAuditable(AuditableServer.java:84) at com.ibm.team.workitem.common.internal.ProcessAreaCacheManager.updateCache(ProcessAreaCacheManager.java:69) at com.ibm.team.workitem.common.internal.ProcessAreaCacheManager.findProcessArea(ProcessAreaCacheManager.java:54) at com.ibm.team.workitem.common.internal.WorkItemCommon.findProcessArea(WorkItemCommon.java:710) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.ibm.team.workitem.service.internal.ServiceAdapter.invoke(ServiceAdapter.java:74) at $Proxy131.findProcessArea(null) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55) at $Proxy132.findProcessArea(null) at com.ibm.team.apt.internal.service.tools.WorkItemResolver.resolveProgress(WorkItemResolver.java:119) at com.ibm.team.apt.internal.service.tools.AbstractPlanResolveHelper.completeOutplaceItems(AbstractPlanResolveHelper.java:405) at com.ibm.team.apt.internal.service.tools.AbstractPlanResolveHelper.completeOutplaceItems(AbstractPlanResolveHelper.java:397) at com.ibm.team.apt.internal.service.tools.AbstractPlanResolveHelper.completeOutplaceItems(AbstractPlanResolveHelper.java:397) at com.ibm.team.apt.internal.service.tools.AbstractPlanResolveHelper.completeOutplaceItems(AbstractPlanResolveHelper.java:388) at com.ibm.team.apt.internal.service.tools.AbstractPlanResolveHelper.fetchPlannedItems(AbstractPlanResolveHelper.java:250) at com.ibm.team.apt.internal.service.IterationPlanService.fetchPlannedWorkItems(IterationPlanService.java:218) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55) at $Proxy165.fetchPlannedWorkItems(null) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleMethod(AbstractTeamServerServlet.java:1084) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.executeMethod(AbstractTeamServerServlet.java:834) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:636) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1381) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:810) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:321) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:260) at com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:546) at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:461) at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184) at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43) at $Proxy22.fetchPlannedWorkItems(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:149) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:84) at $Proxy22.fetchPlannedWorkItems(Unknown Source) at com.ibm.team.apt.internal.client.IterationPlanClient$2.run(IterationPlanClient.java:202) at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository. |
5 answers
Can you provide more information on the repotools versions you used to export and import the repository data ?
The repotools log contains version information. The repotools log file is generated in the server directory (the same directory from which you ran the repotools scripts). --- Balaji Jazz Server Team Hi Jazz-Team/Community, |
2008-10-30 15:55:04,544 repotools -export toFile=BCPM30102008.tar overwrite=yes
2008-10-30 15:55:04,544 Repo Tools, Version 1.0 - I20080618-1642 2008-10-30 15:55:04,554 Provisioning using "C:\Program Files\IBM\JazzTeamServer\server\\provision_profiles". 2008-10-30 15:55:16,992 Rational Jazz Team Server - Standard (60 day trial) 2008-10-30 15:55:17,022 Loading configuration from "file:teamserver.properties". 2008-10-30 15:55:18,184 Fulltext Index Location: workitemindex\fulltext_index\ 2008-10-30 15:55:21,548 Initial database connection successful Db Product Name: Apache Derby Db Product Version: 10.3.2.2 - (650004) Db Name/Location: repositoryDB 2008-10-30 15:55:26,035 The user "ADMIN" has logged in to the database "repositoryDB". 2008-10-30 15:55:26,045 Exporting the data from the database "repositoryDB" to the file "BCPM30102008.tar". 2008-10-30 15:55:26,566 2008-10-30 15:55:26,566 Exporting all the items present in the repository in offline mode. |
looks like you were migrating from 1.0GA to 1.0.1.
You don't even need to migrate the data from 1.0GA to 1.0.1. Both the releases have the same table structure. You can just upgrade your server and point to the 1.0 database. Were you trying to move from Derby to DB2 ? --- Balaji Jazz Server Team 2008-10-30 15:55:04,544 repotools -export toFile=BCPM30102008.tar overwrite=yes |
Yes, I exported with repotools from Derby and tried to import on a DB2 database. But it worked several times. But now it displays the posted error.
Greetz C. Zndorf |
Can you please open a WI.
Yes, I exported with repotools from Derby and tried to import on a DB2 database. But it worked several times. But now it displays the posted error. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.