Repository tools command to reset a repository lock ID
Use the resetRepoLockId command to reset the repository lock ID in a database.
Purpose
The resetRepoLockId command can be used to reset the repository lock ID in a database.Important: This command should only be used in an emergency
if the existing database lock was lost from the current teamserver.properties file,
and if you are sure no other application is accessing the same database
tables.
Important: You
must shut down the server before you run the command.
Parameters
Attribute | Description | Required | Default |
---|---|---|---|
teamserver.properties | Path to the teamserver.properties file | No | conf/application/teamserver.properties where application is jts, ccm, rm, qm, gc, dcc, or relm. |
logFile | Path to the log file. | No | repotools-application_resetRepoLockId.log where application is jts, ccm, rm, qm, gc, dcc, or relm. |
Example
The following example is for Jazz® Team Server. To use
this command for other applications, run these options from the server directory:
- IBM® Engineering Workflow Management (Change and Configuration Management application): repotools-ccm
- IBM Engineering Requirements Management DOORS® Next (Requirements Management application): repotools-rm
- IBM Engineering Test Management (Quality Management application): repotools-qm
- Global Configuration Management: repotools-gc
- Data Collection Component: repotools-dcc
- IBM Engineering Lifecycle Optimization Engineering Insights: repotools-relm
Open a command prompt and enter this command:
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-jts.bat -resetRepoLockId teamserver.properties=conf\jts\teamserver.properties
Open a command line and enter
this command:
cd opt/IBM/JazzTeamServer/server/ ./repotools-jts.sh -resetRepoLockId teamserver.properties=conf/jts/teamserver.properties