Error while running repotools-rm_finalizeApplicationMigration script to upgrade RQM from v4.0.3 to v5.0.1
I'm getting the below error while running the repotools-rm_finalizeApplicationMigration script.
CRJAZ2422E An error occurred finalizing the application migration.
com.ibm.team.repository.common.TeamRepositoryException: CRJAZ2642E The migration cannot continue because the application being migrated is not registered with the Jazz Team Server that is being converted for use as the application database.
at com.ibm.team.repository.migration.internal.service.HybridApplicationMigrationService.setIdOfApplicationMigrated(HybridApplicationMigrationService.java:157)
at com.ibm.team.repository.migration.internal.service.HybridApplicationMigrationService.finalizeApplicationMigration(HybridApplicationMigrationService.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy259.finalizeApplicationMigration(Unknown Source)
at com.ibm.team.repotools.commands.local.internal.FinalizeApplicationMigrationCommand.execute(FinalizeApplicationMigrationCommand.java:84)
at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:67)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:816)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:891)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
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:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
2 answers
The error is because the JTS does not have a Friend entry that matches the one passed in to the finalizeApplicationMigration command.This can happen if you do not pass an application id, or if you pass the wrong application id.
Did you have RM registered with the in the 4.x JTS before you started the migration? If so, is the application id the same as what you are using when your run finalizeApplicationMigration?
Ruby
Martha (Ruby) Andrews
Jazz Foundation L3 Development Team Lead