Erorrs while exporting database using repotools -export
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
chenshuai wrote:
During the migration of database,I need to export the data from 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: |
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 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:
Thanks, Craig Chaney Jazz Server team error 1: |
chenshuai wrote:
Thanks for your attention. 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: |
Thanks to your advicement, I solve my problems by running the repotools from command line.
Thanks a lot. |
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 |
chenshuai wrote:
Although I can run export without errors,I find that the data in the 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 |
Craig Chaney wrote
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
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.