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

Access Denied on Import

Exported (repotools) a 1.0.1 repository (linux) and tried to import to a 2.0 Beta2 repository (windows) - it starts fine but fails when it gets to 'Importing "FileItem" items' with "Access Denied"

Is this type of migration supported?

<SNIP>
2009-06-09 13:56:21,251 Importing "ReportQueryDescriptor" items...
2009-06-09 13:56:23,048 Imported 69 ReportQueryDescriptor items, 69 item states in 1797 ms.
2009-06-09 13:56:23,048 Average time to process an item state: 26 ms.
2009-06-09 13:56:23,048
2009-06-09 13:56:23,048 Importing "FileItem" items...
2009-06-09 13:56:23,361 itemId= stateId= nsURI=com.ibm.team.filesystem typeName=FileItem
com.ibm.team.repository.common.TeamRepositoryException: Access is denied.
at com.ibm.team.scm.service.internal.content.VersionedContentService$13.run(VersionedContentService.java:2592)
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.GeneratedMethodAccessor28.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 $Proxy79.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.GeneratedMethodAccessor39.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 $Proxy108.runInTransaction(Unknown Source)
at com.ibm.team.scm.service.internal.content.VersionedContentService.storeContentInTransaction(VersionedContentService.java:2586)
at sun.reflect.GeneratedMethodAccessor104.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 $Proxy293.storeContentInTransaction(Unknown Source)
at com.ibm.team.filesystem.service.internal.migration.FilesystemMigrationHandler.processContent(FilesystemMigrationHandler.java:343)
at com.ibm.team.filesystem.service.internal.migration.FilesystemMigrationHandler.migrateToSCMContent(FilesystemMigrationHandler.java:256)
at com.ibm.team.filesystem.service.internal.migration.FilesystemMigrationHandler.preSave(FilesystemMigrationHandler.java:177)
at com.ibm.team.repository.migration.AbstractMigrationHandler.preSave(AbstractMigrationHandler.java:268)
at sun.reflect.GeneratedMethodAccessor69.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 $Proxy324.preSave(Unknown Source)
at com.ibm.team.repository.migration.internal.service.MigrationHandlerDispatcher.preSave(MigrationHandlerDispatcher.java:349)
at com.ibm.team.repository.migration.internal.service.MigrationService.preSave(MigrationService.java:1002)
at com.ibm.team.repository.migration.internal.service.MigrationService.importItem(MigrationService.java:801)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.importData(AbstractMigrationService.java:838)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.importRepositoryOptionalVerifyPreserve(AbstractMigrationService.java:690)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.importRepositoryOptionalVerify(AbstractMigrationService.java:648)
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 $Proxy151.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:158)
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: Access is denied.
at java.io.File.checkAndCreate(File.java:1379)
at java.io.File.createTempFile(File.java:1467)
at com.ibm.team.scm.service.internal.content.VersionedContentService.createTempContentFile(VersionedContentService.java:1483)
at com.ibm.team.scm.service.internal.content.VersionedContentService.internalStoreContentFileBuffer(VersionedContentService.java:1532)
at com.ibm.team.scm.service.internal.content.VersionedContentService.internalStoreContent(VersionedContentService.java:1180)
at com.ibm.team.scm.service.internal.content.VersionedContentService.access$11(VersionedContentService.java:1133)
at com.ibm.team.scm.service.internal.content.VersionedContentService$13.run(VersionedContentService.java:2590)
... 71 more

0 votes



One answer

Permanent link
Works fine when I import into a 1.0.1.1 repository (windows). Seems like a 1.0.1 to 2.0 Beta 2 migration problem.

I'll open a work item.

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: Jun 09 '09, 10:13 p.m.

Question was seen: 4,288 times

Last updated: Jun 09 '09, 10:13 p.m.

Confirmation Cancel Confirm