repotools-jazz -addTables fails in upgrade from 2.x to 3.0
I'm upgrading RTC on Windows 2008 server, from 2.x to 3.0 As usual, many times scripts fail, apparently because of the lack of testing on Windows computers. For example, the migration command could not migrate Tomcat settings because it was confused by the standard windows "program files" path. In any case, having got past those sorts of troubles, I'm stuck on the new database creation as specified here:
As the log below shows, the script can connect to the database, but then fails. I assumed it was a SQL Server permission problem. However, after changing permissions and delete/creating the database a few times, it appears that there's a problem with the script. Any idea of what the issues might be?
2013-05-20 11:40:06,822 The bundle com.ibm.team.workitem.sample.money is STARTED.
2013-05-20 11:40:06,841 CRJAZ1363I Loading the configuration from "file:conf/jazz/teamserver.properties".
|
2 answers
Hello William,
Have you modified your com.ibm.team.repository.db.jdbc.location propery in teamserver.properties? Can you double check if it is correct? Possibly there is any typo in database location. |
The problem was that I followed the instructions (which are incorrect):
Rather than -addTables, the command should be -createTables, as described here:
Continuing with the instructions, it appears that the migration instructions are also incorrect. 1. Open a command window and go to the <RTC3.0_install_dir>/server directory. Run the following command to add tables to the database: repotools-jazz -addTables 2. Run the following command to export user information from the RTC database: repotools-jazz -migration_exportJTSData toFile=jtsData.tar Notice that step 2 is in the directory of the new repository, and thus exports no old data. The link is here:
|
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.