Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Repotools import from RTC 2.0M2 to RTC 2.0

Hello,

I am trying to pass the information of RTC from version 2.0M2 to 2.0. I am using the following code:

./repotools.sh export toFile=export.tar

./repotools.sh -import fromFile=/tmp/export.tar

When I tried to run the code, I got the following error message.:

2009-07-21 19:25:46,115 Importing "ProjectArea" items...
2009-07-21 19:25:46,117 itemId= stateId= nsURI=com.ibm.team.process typeName=ProjectArea
com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0908I An I/O exception was thrown persisting content.
at com.ibm.team.repository.service.internal.ContentService.internalPersistAndMaybeCompressStoredContent(ContentService.java:1329)
at com.ibm.team.repository.service.internal.ContentService.saveContent(ContentService.java:1709)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1694)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1689)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1670)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy329.saveAllContent(Unknown Source)
at com.ibm.team.repository.service.internal.RepositoryImportService.doImportAuditable(RepositoryImportService.java:489)
at com.ibm.team.repository.service.internal.RepositoryImportService.access$10(RepositoryImportService.java:483)
at com.ibm.team.repository.service.internal.RepositoryImportService$12.run(RepositoryImportService.java:478)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:466)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:292)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:328)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy286.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:288)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:244)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:74)
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy317.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.RepositoryImportService.importAuditable(RepositoryImportService.java:476)
at com.ibm.team.repository.service.internal.RepositoryImportService.importAuditableCurrent(RepositoryImportService.java:465)
at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy358.importAuditableCurrent(Unknown Source)
at com.ibm.team.repository.migration.internal.service.MigrationService.importInitialItem(MigrationService.java:1084)
at com.ibm.team.repository.migration.internal.service.MigrationService.importItem(MigrationService.java:1049)
at com.ibm.team.repository.migration.internal.service.MigrationService.importItem(MigrationService.java:805)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.importData(AbstractMigrationService.java:839)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.importRepositoryOptionalVerifyPreserve(AbstractMigrationService.java:693)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.importRepositoryOptionalVerify(AbstractMigrationService.java:651)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy360.importRepositoryOptionalVerify(Unknown Source)
at com.ibm.team.repotools.rcp.internal.command.ImportCommand.importData(ImportCommand.java:153)
at com.ibm.team.repotools.rcp.internal.command.ImportCommand.execute(ImportCommand.java:114)
at com.ibm.team.repotools.rcp.AbstractCommand.execute(AbstractCommand.java:161)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:671)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:702)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by:
java.io.IOException: Permission denied
at java.io.File.checkAndCreate(File.java:1379)
at java.io.File.createTempFile(File.java:1467)
at com.ibm.team.repository.service.internal.ContentService.createTempContentFile(ContentService.java:952)
at com.ibm.team.repository.service.internal.ContentService.internalStoreContentFileBuffer(ContentService.java:988)
at com.ibm.team.repository.service.internal.ContentService.internalStoreContent(ContentService.java:818)
at com.ibm.team.repository.service.internal.ContentService.internalPersistAndMaybeCompressStoredContent(ContentService.java:1294)
... 75 more



It seems that is a permission problem. I search in the help but it does not show any additional information/configuration about the repotools.

Any help will be welcome.
Thank you very much.

0 votes



3 answers

Permanent link
On Wed, 22 Jul 2009 13:53:02 +0000, fco.moreno wrote:

The previous error message was a permission problem in the directory of
export.tar

I have solved this problem but now I got another message error:


Please file a workitem to track this defect. You can open a new workitem
here:
https://jazz.net/jazz/web/projects/Rational%20Team%
20Concert#action=com.ibm.team.workitem.newWorkItem

--
Jared Burns
Jazz Process Team

0 votes


Permanent link
Hello,

The previous error message was a permission problem in the directory of export.tar

I have solved this problem but now I got another message error:

2009-07-22 14:12:00,436 Running post import for "com.ibm.team.workitem" component...
2009-07-22 14:12:00,807
java.lang.IllegalArgumentException
at com.ibm.team.process.internal.common.util.AbstractProcess.computeConfigurationData(AbstractProcess.java:314)
at com.ibm.team.process.internal.common.util.AbstractProcess.getProjectConfigurationData(AbstractProcess.java:296)
at com.ibm.team.process.internal.service.ServerProcess.getProjectConfigurationData(ServerProcess.java:199)
at com.ibm.team.workitem.service.internal.AuditableServerProcess.findProcessConfiguration(AuditableServerProcess.java:61)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.updateWorkItemTypes(WorkItemTypeManager.java:276)
at com.ibm.team.workitem.service.internal.WorkItemServer.updateWorkItemTypes(WorkItemServer.java:218)
at com.ibm.team.workitem.service.internal.WorkItemServer.synchronizeConfiguration(WorkItemServer.java:207)
at com.ibm.team.workitem.service.internal.WorkItemRepositoryService$4.run(WorkItemRepositoryService.java:726)
at com.ibm.team.repository.service.internal.TransactionService$1.run(TransactionService.java:99)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:466)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:292)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:328)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy286.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:288)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:244)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:74)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:63)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy318.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.AbstractService.runInTransaction(AbstractService.java:723)
at com.ibm.team.workitem.service.internal.WorkItemRepositoryService.synchronizeConfiguration(WorkItemRepositoryService.java:722)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy412.synchronizeConfiguration(Unknown Source)
at com.ibm.team.workitem.service.internal.WorkItemMigrationHandler.synchronize(WorkItemMigrationHandler.java:365)
at com.ibm.team.workitem.service.internal.WorkItemMigrationHandler.synchronizeProjectAreas(WorkItemMigrationHandler.java:353)
at com.ibm.team.workitem.service.internal.WorkItemMigrationHandler.postImport(WorkItemMigrationHandler.java:271)
at com.ibm.team.repository.migration.AbstractMigrationHandler.postImport(AbstractMigrationHandler.java:293)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy529.postImport(Unknown Source)
at com.ibm.team.repository.migration.internal.service.MigrationHandlerDispatcher.postImport(MigrationHandlerDispatcher.java:469)
at com.ibm.team.repository.migration.internal.service.MigrationHandlerDispatcher.postImport(MigrationHandlerDispatcher.java:460)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.performPostImport(AbstractMigrationService.java:1137)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.importRepositoryOptionalVerifyPreserve(AbstractMigrationService.java:707)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.importRepositoryOptionalVerify(AbstractMigrationService.java:651)
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:378)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy360.importRepositoryOptionalVerify(Unknown Source)
at com.ibm.team.repotools.rcp.internal.command.ImportCommand.importData(ImportCommand.java:153)
at com.ibm.team.repotools.rcp.internal.command.ImportCommand.execute(ImportCommand.java:114)
at com.ibm.team.repotools.rcp.AbstractCommand.execute(AbstractCommand.java:161)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:671)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:702)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
2009-07-22 14:12:00,834



Any help will be welcome.
Thank you very much.

0 votes


Permanent link
rmorquec@mx1.ibm-dot-com.no-spam.invalid (rmorquecho) wrote in news:h4kgok
$ds9$1@localhost.localdomain:

(login and password in teamserver.properties file are correct, and
db2admin user exists in db2)
Am I missing something?

it uses the userid/password form the teamserver.properties
can you confirm they are correct ?

here is mine for info (user:db2inst1/paswd:db2admin)
com.ibm.team.repository.db.vendor = DB2
com.ibm.team.repository.db.jdbc.location=//localhost:50000/JAZZ;user=db2ins
t1;password={password};
com.ibm.team.repository.db.jdbc.password=db2admin

Can you do a DB2 connect to - user - usng ?

--
Christophe Elek
Jazz L3
IBM Software Group - Rational

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 21 '09, 2:43 p.m.

Question was seen: 9,654 times

Last updated: Jul 21 '09, 2:43 p.m.

Confirmation Cancel Confirm