repotools-jts export data problems
Fortunately, I backed up everything before I attempted the move, so I was able to put the original configuration back together again.
Has anyone ever seen this behavior?
Thanks,
Fran
Accepted answer
The help doc for deploying CLM on WAS mentions that the derby location should be changed to absolute in the teamserver.properties before deployment.
As you already know, it appears that repotools is constructing the Derby absolute path using the JAZZ_HOME, which means it's looking in the wrong place. If you change your Derby location to absolute in your teamserver.properties, repotools will be able to find the correct location and export should work as expected.
One other answer
Comments
Ralph,
Yes - and everything looks normal - except for the 'Exporting items' lines. Most every line says:
Exported 0 XXX items in 0ms
For JTS, there are only 2 non-zero exported items: RepositoryRoot (1 item) and ContributorRecord (2 items). CCM and QM look similar.
I went into the conf\jts\derby\repositoryDB\seg0 directory and the files in that directory are all very small - like Jazz was just installed. I'm no Derby expert, but given that we've installed the JKEBanking and have 2 other projects in the database, I'd expect those files to be a lot bigger.
All that being said, Jazz runs fine. All the data is present in the applications. It's almost like there is another Derby database on the system holding the data, but the entries in teamserver.properties point to the default location.
Any idea what is going on?
Thanks,
Fran
Ralph,
I found the Derby databases that are being used. For some reason, the derby databases were created in <WebsphereHome>\AppServer\derby.
For example, the JTS database is stored in <WebsphereHome>\AppServer\derby\conf\jts\derby\repositoryDB.
Any idea why it was stored here as opposed to the normal location under JazzTeamServer? Guess I'll use absolute paths from now on in teamserver.properties. :)
What's the best way to get repotool-jts to export the data from the new location? There's no parameter to select a different location for the database. If I run repotools-jts from the <WebsphereHome>\AppServer\derby directory, will it grab the correct data? Or should i just copy the Derby database to the default location and run repotool-jts normally?