It's all about the answers!

Ask a question

Erorrs while exporting database using repotools -export


chen shuai (2131) | asked Feb 27 '09, 3:36 a.m.
During the migration of database,I need to export the data from database to a .tar file.While I run the export launch,there are some errors:

error 1:
2009-02-27 16:22:15,328 Exporting com.ibm.team.foundation.wiki/WikiPageAttachment.
2009-02-27 16:22:15,328 WikiPageAttachment
com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I Unable to find dbid for ItemType com.ibm.team.foundation.wiki#WikiPageAttachment

error 2:
2009-02-27 16:22:15,359 Exporting com.ibm.team.analysis/AnalysisContribution.
2009-02-27 16:22:15,359 AnalysisContribution
com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I Unable to find dbid for ItemType com.ibm.team.analysis#AnalysisContribution

error 3:
2009-02-27 16:22:15,359 CRJAZ0882I Error resolving mediator for "org.eclipse.emf.ecore.impl.EClassImpl@38183818 (name: ReportDescriptor) (instanceClassName: null) (abstract: false, interface: false)".
java.lang.RuntimeException: com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I Unable to find dbid for ItemType

who can tell me how to solve these errors?
Thanks

7 answers



permanent link
Craig Chaney (9212) | answered Feb 27 '09, 4:18 p.m.
JAZZ DEVELOPER
chenshuai wrote:
During the migration of database,I need to export the data from
database to a .tar file.While I run the export launch,there are some
errors:

Hi,

Are you running repotools from the command line?

Can you see if there are more details on the error in the log file?
(repotools_export.log)

Thanks,
Craig Chaney
Jazz Server team


error 1:
2009-02-27 16:22:15,328 Exporting
com.ibm.team.foundation.wiki/WikiPageAttachment.
2009-02-27 16:22:15,328 WikiPageAttachment
com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I
Unable to find dbid for ItemType
com.ibm.team.foundation.wiki#WikiPageAttachment

error 2:
2009-02-27 16:22:15,359 Exporting
com.ibm.team.analysis/AnalysisContribution.
2009-02-27 16:22:15,359 AnalysisContribution
com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I
Unable to find dbid for ItemType
com.ibm.team.analysis#AnalysisContribution

error 3:
2009-02-27 16:22:15,359 CRJAZ0882I Error resolving mediator for
"org.eclipse.emf.ecore.impl.EClassImpl@38183818 (name:
ReportDescriptor) (instanceClassName: null) (abstract: false,
interface: false)".
java.lang.RuntimeException:
com.ibm.team.repository.common.InternalRepositoryException:
CRJAZ0398I Unable to find dbid for ItemType

who can tell me how to solve these errors?
Thanks

permanent link
chen shuai (2131) | answered Mar 02 '09, 12:46 a.m.
Thanks for your attention.
I'm running the launch which calls the repotools to export rather than derictly running repotools from the command line.Will this bring problems?
chenshuai wrote:
During the migration of database,I need to export the data from
database to a .tar file.While I run the export launch,there are some
errors:

Hi,

Are you running repotools from the command line?

Can you see if there are more details on the error in the log file?
(repotools_export.log)
In the log file there are details about the error:

com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I Unable to find dbid for ItemType com.ibm.team.foundation.wiki#WikiPageAttachment
at com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getDBID(ItemTypesToDBIDs.java:72)
at com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getDBID(ItemTypesToDBIDs.java:59)
at com.ibm.team.repository.service.internal.dataaccess.BaseMediatorService.initItemTypeDbId(BaseMediatorService.java:361)
at com.ibm.team.repository.service.internal.dataaccess.BaseMediatorService.getItemTypeDbId(BaseMediatorService.java:373)
at com.ibm.team.repository.service.internal.dataaccess.DocumentMediatorService.findItemIdsModifiedBefore(DocumentMediatorService.java:246)
at com.ibm.team.repository.service.internal.dataaccess.MediatorServiceDelegator.findItemIdsModifiedBefore(MediatorServiceDelegator.java:174)
at com.ibm.team.repository.service.internal.dataaccess.MediatorServiceDelegator.findItemIdsModifiedBefore(MediatorServiceDelegator.java:174)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.findItemIdsModifiedBeforeForType(RdbRepositoryDataMediator.java:1107)
at com.ibm.team.repository.service.internal.RepositoryImportService.doFindItemIdsModifiedBeforeForType(RepositoryImportService.java:135)
at com.ibm.team.repository.service.internal.RepositoryImportService.access$1(RepositoryImportService.java:131)
at com.ibm.team.repository.service.internal.RepositoryImportService$2.run(RepositoryImportService.java:125)
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.GeneratedMethodAccessor49.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: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 $Proxy34.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.RepositoryImportService.findItemIdsModifiedBeforeForType(RepositoryImportService.java:123)
at sun.reflect.GeneratedMethodAccessor64.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: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 $Proxy74.findItemIdsModifiedBeforeForType(Unknown Source)
at com.ibm.team.repository.migration.internal.service.MigrationService.findItemIdsForType(MigrationService.java:204)
at com.ibm.team.repository.migration.internal.service.MigrationService.findItemHandlesForType(MigrationService.java:183)
at com.ibm.team.repository.migration.internal.service.MigrationService.exportItemsForType(MigrationService.java:149)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportItems(AbstractMigrationService.java:463)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportItems(AbstractMigrationService.java:439)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportRepositoryPartial(AbstractMigrationService.java:264)
at com.ibm.team.repository.migration.internal.service.MigrationService.exportRepositoryPartial(MigrationService.java:117)
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 $Proxy76.exportRepositoryPartial(Unknown Source)
at com.ibm.team.repotools.rcp.internal.command.ExportCommand.exportData(ExportCommand.java:120)
at com.ibm.team.repotools.rcp.internal.command.ExportCommand.execute(ExportCommand.java:94)
at com.ibm.team.repotools.rcp.AbstractCommand.execute(AbstractCommand.java:167)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:616)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:673)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)


com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I Unable to find dbid for ItemType com.ibm.team.foundation.wiki#WikiPage
at com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getDBID(ItemTypesToDBIDs.java:72)
at com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getDBID(ItemTypesToDBIDs.java:59)
at com.ibm.team.repository.service.internal.dataaccess.BaseMediatorService.initItemTypeDbId(BaseMediatorService.java:361)
at com.ibm.team.repository.service.internal.dataaccess.BaseMediatorService.getItemTypeDbId(BaseMediatorService.java:373)
at com.ibm.team.repository.service.internal.dataaccess.DocumentMediatorService.findItemIdsModifiedBefore(DocumentMediatorService.java:246)
at com.ibm.team.repository.service.internal.dataaccess.MediatorServiceDelegator.findItemIdsModifiedBefore(MediatorServiceDelegator.java:174)
at com.ibm.team.repository.service.internal.dataaccess.MediatorServiceDelegator.findItemIdsModifiedBefore(MediatorServiceDelegator.java:174)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.findItemIdsModifiedBeforeForType(RdbRepositoryDataMediator.java:1107)
at com.ibm.team.repository.service.internal.RepositoryImportService.doFindItemIdsModifiedBeforeForType(RepositoryImportService.java:135)
at com.ibm.team.repository.service.internal.RepositoryImportService.access$1(RepositoryImportService.java:131)
at com.ibm.team.repository.service.internal.RepositoryImportService$2.run(RepositoryImportService.java:125)
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.GeneratedMethodAccessor49.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: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 $Proxy34.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.RepositoryImportService.findItemIdsModifiedBeforeForType(RepositoryImportService.java:123)
at sun.reflect.GeneratedMethodAccessor64.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: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 $Proxy74.findItemIdsModifiedBeforeForType(Unknown Source)
at com.ibm.team.repository.migration.internal.service.MigrationService.findItemIdsForType(MigrationService.java:204)
at com.ibm.team.repository.migration.internal.service.MigrationService.findItemHandlesForType(MigrationService.java:183)
at com.ibm.team.repository.migration.internal.service.MigrationService.exportItemsForType(MigrationService.java:149)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportItems(AbstractMigrationService.java:463)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportItems(AbstractMigrationService.java:440)
at com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportRepositoryPartial(AbstractMigrationService.java:264)
at com.ibm.team.repository.migration.internal.service.MigrationService.exportRepositoryPartial(MigrationService.java:117)
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 $Proxy76.exportRepositoryPartial(Unknown Source)
at com.ibm.team.repotools.rcp.internal.command.ExportCommand.exportData(ExportCommand.java:120)
at com.ibm.team.repotools.rcp.internal.command.ExportCommand.execute(ExportCommand.java:94)
at com.ibm.team.repotools.rcp.AbstractCommand.execute(AbstractCommand.java:167)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:616)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:673)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
...


Thanks,
Craig Chaney
Jazz Server team


error 1:
2009-02-27 16:22:15,328 Exporting
com.ibm.team.foundation.wiki/WikiPageAttachment.
2009-02-27 16:22:15,328 WikiPageAttachment
com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I
Unable to find dbid for ItemType
com.ibm.team.foundation.wiki#WikiPageAttachment

error 2:
2009-02-27 16:22:15,359 Exporting
com.ibm.team.analysis/AnalysisContribution.
2009-02-27 16:22:15,359 AnalysisContribution
com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0398I
Unable to find dbid for ItemType
com.ibm.team.analysis#AnalysisContribution

error 3:
2009-02-27 16:22:15,359 CRJAZ0882I Error resolving mediator for
"org.eclipse.emf.ecore.impl.EClassImpl@38183818 (name:
ReportDescriptor) (instanceClassName: null) (abstract: false,
interface: false)".
java.lang.RuntimeException:
com.ibm.team.repository.common.InternalRepositoryException:
CRJAZ0398I Unable to find dbid for ItemType

who can tell me how to solve these errors?
Thanks

permanent link
Craig Chaney (9212) | answered Mar 02 '09, 8:28 a.m.
JAZZ DEVELOPER
chenshuai wrote:
Thanks for your attention.
I'm running the launch which calls the repotools to export rather
than derictly running repotools from the command line.Will this bring
problems?

Yes, this might be the problem. The launch might not have all of the
plugins enabled that correspond to the components installed in your
database.

Thanks,
Craig Chaney
Jazz Server team

Craig Chaneywrote:
chenshuai wrote:
During the migration of database,I need to export the data from
database to a .tar file.While I run the export launch,there are
some
errors:

Hi,

Are you running repotools from the command line?

Can you see if there are more details on the error in the log file?
(repotools_export.log)
In the log file there are details about the
error:
com.ibm.team.repository.common.InternalRepositoryException:
CRJAZ0398I Unable to find dbid for ItemType
com.ibm.team.foundation.wiki#WikiPageAttachment
at
com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getDBID(ItemTypesToDBIDs.java:72)
at
com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getDBID(ItemTypesToDBIDs.java:59)
at
com.ibm.team.repository.service.internal.dataaccess.BaseMediatorService.initItemTypeDbId(BaseMediatorService.java:361)
at
com.ibm.team.repository.service.internal.dataaccess.BaseMediatorService.getItemTypeDbId(BaseMediatorService.java:373)
at
com.ibm.team.repository.service.internal.dataaccess.DocumentMediatorService.findItemIdsModifiedBefore(DocumentMediatorService.java:246)
at
com.ibm.team.repository.service.internal.dataaccess.MediatorServiceDelegator.findItemIdsModifiedBefore(MediatorServiceDelegator.java:174)
at
com.ibm.team.repository.service.internal.dataaccess.MediatorServiceDelegator.findItemIdsModifiedBefore(MediatorServiceDelegator.java:174)
at
com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.findItemIdsModifiedBeforeForType(RdbRepositoryDataMediator.java:1107)
at
com.ibm.team.repository.service.internal.RepositoryImportService.doFindItemIdsModifiedBeforeForType(RepositoryImportService.java:135)
at
com.ibm.team.repository.service.internal.RepositoryImportService.access$1(RepositoryImportService.java:131)
at
com.ibm.team.repository.service.internal.RepositoryImportService$2.run(RepositoryImportService.java:125)
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.GeneratedMethodAccessor49.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: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 $Proxy34.runInTransaction(Unknown Source)
at
com.ibm.team.repository.service.internal.RepositoryImportService.findItemIdsModifiedBeforeForType(RepositoryImportService.java:123)
at sun.reflect.GeneratedMethodAccessor64.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: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 $Proxy74.findItemIdsModifiedBeforeForType(Unknown Source)
at
com.ibm.team.repository.migration.internal.service.MigrationService.findItemIdsForType(MigrationService.java:204)
at
com.ibm.team.repository.migration.internal.service.MigrationService.findItemHandlesForType(MigrationService.java:183)
at
com.ibm.team.repository.migration.internal.service.MigrationService.exportItemsForType(MigrationService.java:149)
at
com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportItems(AbstractMigrationService.java:463)
at
com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportItems(AbstractMigrationService.java:439)
at
com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportRepositoryPartial(AbstractMigrationService.java:264)
at
com.ibm.team.repository.migration.internal.service.MigrationService.exportRepositoryPartial(MigrationService.java:117)
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 $Proxy76.exportRepositoryPartial(Unknown Source)
at
com.ibm.team.repotools.rcp.internal.command.ExportCommand.exportData(ExportCommand.java:120)
at
com.ibm.team.repotools.rcp.internal.command.ExportCommand.execute(ExportCommand.java:94)
at
com.ibm.team.repotools.rcp.AbstractCommand.execute(AbstractCommand.java:167)
at
com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:616)
at
com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:673)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)


com.ibm.team.repository.common.InternalRepositoryException:
CRJAZ0398I Unable to find dbid for ItemType
com.ibm.team.foundation.wiki#WikiPage
at
com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getDBID(ItemTypesToDBIDs.java:72)
at
com.ibm.team.repository.service.internal.dataaccess.ItemTypesToDBIDs.getDBID(ItemTypesToDBIDs.java:59)
at
com.ibm.team.repository.service.internal.dataaccess.BaseMediatorService.initItemTypeDbId(BaseMediatorService.java:361)
at
com.ibm.team.repository.service.internal.dataaccess.BaseMediatorService.getItemTypeDbId(BaseMediatorService.java:373)
at
com.ibm.team.repository.service.internal.dataaccess.DocumentMediatorService.findItemIdsModifiedBefore(DocumentMediatorService.java:246)
at
com.ibm.team.repository.service.internal.dataaccess.MediatorServiceDelegator.findItemIdsModifiedBefore(MediatorServiceDelegator.java:174)
at
com.ibm.team.repository.service.internal.dataaccess.MediatorServiceDelegator.findItemIdsModifiedBefore(MediatorServiceDelegator.java:174)
at
com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.findItemIdsModifiedBeforeForType(RdbRepositoryDataMediator.java:1107)
at
com.ibm.team.repository.service.internal.RepositoryImportService.doFindItemIdsModifiedBeforeForType(RepositoryImportService.java:135)
at
com.ibm.team.repository.service.internal.RepositoryImportService.access$1(RepositoryImportService.java:131)
at
com.ibm.team.repository.service.internal.RepositoryImportService$2.run(RepositoryImportService.java:125)
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.GeneratedMethodAccessor49.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: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 $Proxy34.runInTransaction(Unknown Source)
at
com.ibm.team.repository.service.internal.RepositoryImportService.findItemIdsModifiedBeforeForType(RepositoryImportService.java:123)
at sun.reflect.GeneratedMethodAccessor64.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: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 $Proxy74.findItemIdsModifiedBeforeForType(Unknown Source)
at
com.ibm.team.repository.migration.internal.service.MigrationService.findItemIdsForType(MigrationService.java:204)
at
com.ibm.team.repository.migration.internal.service.MigrationService.findItemHandlesForType(MigrationService.java:183)
at
com.ibm.team.repository.migration.internal.service.MigrationService.exportItemsForType(MigrationService.java:149)
at
com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportItems(AbstractMigrationService.java:463)
at
com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportItems(AbstractMigrationService.java:440)
at
com.ibm.team.repository.migration.internal.service.AbstractMigrationService.exportRepositoryPartial(AbstractMigrationService.java:264)
at
com.ibm.team.repository.migration.internal.service.MigrationService.exportRepositoryPartial(MigrationService.java:117)
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 $Proxy76.exportRepositoryPartial(Unknown Source)
at
com.ibm.team.repotools.rcp.internal.command.ExportCommand.exportData(ExportCommand.java:120)
at
com.ibm.team.repotools.rcp.internal.command.ExportCommand.execute(ExportCommand.java:94)
at
com.ibm.team.repotools.rcp.AbstractCommand.execute(AbstractCommand.java:167)
at
com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:616)
at
com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:673)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
...


Thanks,
Craig Chaney
Jazz Server team


error 1:
2009-02-27 16:22:15,328 Exporting
com.ibm.team.foundation.wiki/WikiPageAttachment.
2009-02-27 16:22:15,328 WikiPageAttachment
com.ibm.team.repository.common.InternalRepositoryException:
CRJAZ0398I
Unable to find dbid for ItemType
com.ibm.team.foundation.wiki#WikiPageAttachment

error 2:
2009-02-27 16:22:15,359 Exporting
com.ibm.team.analysis/AnalysisContribution.
2009-02-27 16:22:15,359 AnalysisContribution
com.ibm.team.repository.common.InternalRepositoryException:
CRJAZ0398I
Unable to find dbid for ItemType
com.ibm.team.analysis#AnalysisContribution

error 3:
2009-02-27 16:22:15,359 CRJAZ0882I Error resolving mediator for
"org.eclipse.emf.ecore.impl.EClassImpl@38183818 (name:
ReportDescriptor) (instanceClassName: null) (abstract: false,
interface: false)".
java.lang.RuntimeException:
com.ibm.team.repository.common.InternalRepositoryException:
CRJAZ0398I Unable to find dbid for ItemType

who can tell me how to solve these errors?
Thanks


permanent link
chen shuai (2131) | answered Mar 03 '09, 1:32 a.m.
Thanks to your advicement, I solve my problems by running the repotools from command line.
Thanks a lot.

permanent link
chen shuai (2131) | answered Mar 03 '09, 3:25 a.m.
Although I can run export without errors,I find that the data in the previous version haven't been export into the .tar file.It's seem to be that if I run from command line,there is nothing to do with my project.
Can you tell me how to deal with this problem?
Thanks

permanent link
Craig Chaney (9212) | answered Mar 03 '09, 7:48 a.m.
JAZZ DEVELOPER
chenshuai wrote:
Although I can run export without errors,I find that the data in the
previous version haven't been export into the .tar file.It's seem to
be that if I run from command line,there is nothing to do with my
project.

Perhaps you didn't edit the teamserver.properties? The default
teamserver.properties that resides in the same directory as the
repotools script will point to a clean Derby database that is shipped
with the product.

You can edit teamserver.properties with your favorite text editor. The
comments in the file should explain what changes are needed.

Thanks,
Craig Chaney
Jazz Server team

permanent link
chen shuai (2131) | answered Mar 04 '09, 3:19 a.m.
Craig Chaney wrote

Perhaps you didn't edit the teamserver.properties? The default
teamserver.properties that resides in the same directory as the
repotools script will point to a clean Derby database that is shipped
with the product.

You can edit teamserver.properties with your favorite text editor. The
comments in the file should explain what changes are needed.

I did edit the teamserver.properties file and set the appropriate optional argument in the export command.
While editting the teamserver.properties file,I replace the default database location repositoryDB to the location of my derby database,just as:
com.ibm.team.repository.db.jdbc.location = C:/testDB
Shoule I change any other value in this file?
Thanks

Your answer


Register or to post your answer.