Migrate data with reptools
I'm trying to migrate from RTC 1.0.1 to RTC 2.0 because I need some new features, but when I try to lauch reptools to copy the old db in the new I obtain this error:
root@srtc01:/opt/IBM/JazzTeamServer/server# ./repotools.sh -copy toFile=temp.tar target.teamserver.properties=/home/conf/jazz/teamserver.properties
2009-06-05 17:36:50.255 - FrameworkManager: (SAT-110.1101) A framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: com.ibm.team.repository.servlet_0.6.1.M200811102216
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.268 - FrameworkManager: (SAT-110.1101) A framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: com.ibm.team.repository.service.monitoring_0.6.1.M200811072039
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.276 - FrameworkManager: (SAT-110.1101) A framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: com.ibm.team.repository.jdbcdriver.oracle_0.6.1.M200811072039
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.283 - FrameworkManager: (SAT-110.1101) A framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: com.ibm.team.repository.jdbcdriver.sqlserver_0.6.1.M200902052204
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
Repo Tools, Version 1.0.1.1 - M20090225-1543
Provisioning using "./provision_profiles".
CRJAZ1218I The bundle "com.ibm.team.repository.servlet" with the id 44 is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle "com.ibm.team.repository.service.monitoring" with the id 45 is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle "com.ibm.team.repository.jdbcdriver.oracle" with the id 48 is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle "com.ibm.team.repository.jdbcdriver.sqlserver" with the id 50 is invalid, it is not "RESOLVED".
To ignore invalid bundles, re-run repotools with the following property definition enabled in the script:
-Dcom.ibm.team.repotools.rcp.allowInvalidBundles=true
CRJAZ1225I Migration failed.
Thanks in advance.
root@srtc01:/opt/IBM/JazzTeamServer/server# ./repotools.sh -copy toFile=temp.tar target.teamserver.properties=/home/conf/jazz/teamserver.properties
2009-06-05 17:36:50.255 - FrameworkManager: (SAT-110.1101) A framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: com.ibm.team.repository.servlet_0.6.1.M200811102216
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.268 - FrameworkManager: (SAT-110.1101) A framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: com.ibm.team.repository.service.monitoring_0.6.1.M200811072039
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.276 - FrameworkManager: (SAT-110.1101) A framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: com.ibm.team.repository.jdbcdriver.oracle_0.6.1.M200811072039
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.283 - FrameworkManager: (SAT-110.1101) A framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: com.ibm.team.repository.jdbcdriver.sqlserver_0.6.1.M200902052204
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
Repo Tools, Version 1.0.1.1 - M20090225-1543
Provisioning using "./provision_profiles".
CRJAZ1218I The bundle "com.ibm.team.repository.servlet" with the id 44 is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle "com.ibm.team.repository.service.monitoring" with the id 45 is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle "com.ibm.team.repository.jdbcdriver.oracle" with the id 48 is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle "com.ibm.team.repository.jdbcdriver.sqlserver" with the id 50 is invalid, it is not "RESOLVED".
To ignore invalid bundles, re-run repotools with the following property definition enabled in the script:
-Dcom.ibm.team.repotools.rcp.allowInvalidBundles=true
CRJAZ1225I Migration failed.
Thanks in advance.
3 answers
You can't migrate from 1.0 to 2.0 with the -copy command. You need to
first export with a 1.0 repotools and then import with a 2.0 repotools.
-
Matt Lavin
Jazz Server Team
On Fri, 2009-06-05 at 15:52 +0000, cargne80 wrote:
first export with a 1.0 repotools and then import with a 2.0 repotools.
-
Matt Lavin
Jazz Server Team
On Fri, 2009-06-05 at 15:52 +0000, cargne80 wrote:
I'm trying to migrate from RTC 1.0.1 to RTC 2.0 because I need some
new features, but when I try to lauch reptools to copy the old db in
the new I obtain this error:
root@srtc01:/opt/IBM/JazzTeamServer/server# ./repotools.sh -copy
toFile=temp.tar
target.teamserver.properties=/home/conf/jazz/teamserver.properties
2009-06-05 17:36:50.255 - FrameworkManager: (SAT-110.1101) A
framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Another singleton version selected:
com.ibm.team.repository.servlet_0.6.1.M200811102216
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.268 - FrameworkManager: (SAT-110.1101) A
framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Another singleton version selected:
com.ibm.team.repository.service.monitoring_0.6.1.M200811072039
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.276 - FrameworkManager: (SAT-110.1101) A
framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Another singleton version selected:
com.ibm.team.repository.jdbcdriver.oracle_0.6.1.M200811072039
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
2009-06-05 17:36:50.283 - FrameworkManager: (SAT-110.1101) A
framework error has occurred.
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Another singleton version selected:
com.ibm.team.repository.jdbcdriver.sqlserver_0.6.1.M200902052204
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
Repo Tools, Version 1.0.1.1 - M20090225-1543
Provisioning using "./provision_profiles".
CRJAZ1218I The bundle "com.ibm.team.repository.servlet" with
the id 44 is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle
"com.ibm.team.repository.service.monitoring" with the id 45
is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle
"com.ibm.team.repository.jdbcdriver.oracle" with the id 48
is invalid, it is not "RESOLVED".
CRJAZ1218I The bundle
"com.ibm.team.repository.jdbcdriver.sqlserver" with the id
50 is invalid, it is not "RESOLVED".
To ignore invalid bundles, re-run repotools with the following
property definition enabled in the script:
-Dcom.ibm.team.repotools.rcp.allowInvalidBundles=true
CRJAZ1225I Migration failed.
Thanks in advance.
Ok, I've done with the import/export options, but now I have another problem:
If I'm trying to connect to create a repository connection, the connection is failing.
However, if I visit https://xxxxx:9443/jazz/ through a browser, the web interface appears properly. So any suggestions on what's wrong here?
do I need to change also the client?
thanks in advance
EDIT: Ok done. My fault.
I need to install the new client.
Sorry for my silly question.
If I'm trying to connect to create a repository connection, the connection is failing.
However, if I visit https://xxxxx:9443/jazz/ through a browser, the web interface appears properly. So any suggestions on what's wrong here?
do I need to change also the client?
thanks in advance
EDIT: Ok done. My fault.
I need to install the new client.
Sorry for my silly question.
We ran into the same problem. When you look into the corresponding repotools_*.log, you will find a suggestion how to solve that problem.
Add
set DEFINE=%DEFINE% -Dcom.ibm.team.repotools.rcp.allowInvalidBundles=true
to the repotools.bat
There will be still warnings at the beginning, but afterwards repotools will continue with the work.
Greetings
Add
set DEFINE=%DEFINE% -Dcom.ibm.team.repotools.rcp.allowInvalidBundles=true
to the repotools.bat
There will be still warnings at the beginning, but afterwards repotools will continue with the work.
Greetings