Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

When JAZZ custom setup menu getting, The configured database lock id does not match the lock id in the database


During JAZZ custom setup , step 3 when configuring Databse, Test Configuration succeeds, but getting the follwoing error when Create tAbles option.

CRJAZ1579E.ID CRJAZ1579E
hide details
The configured database lock id does not match the lock id in the database. This can happen if 2 applications or Jazz Team Servers are trying to access the same set of tables, or if the lock id was overwritten or lost in the teamserver.properties configuration file. Check the server configuration and the database connection spec and ensure they are correct. To recover from an emergency lockout, the lock can be reset using the 'repotools -resetRepoLockId' command. Check the log file for information on the affected database.ID CRJAZ1770E


Can any pone help me please.

Thanks in Advance...

--- Vijayalakshmie

0 votes



12 answers

Permanent link
Hi Vijayalaksmie

Did you go through this discussion which explains the reason for this error and the steps to resolve? 

https://jazz.net/forum/questions/76294/the-configured-database-lock-id-does-not-match

Let me know the status in your case and if this does not help.

0 votes


Permanent link
Hi Sumant,

I am trying to connect DB2 on z/OS. I gave db name as JTS401 in teamserver.properties and schema prefix as X1.

Same i referred here in steps.



Can you assist me.

I went through the link. But in my case, JTS401 is used by one application only.

Regards,
viji

0 votes

Comments

 --> Maybe this is specific to DB2 for z/OS. I am unable to confirm what should be your next step here.


--> Here is the details of the "repotools-jts.bat -resetRepoLocklockid" command and at what instance it needs to be run. 


But I am unsure if you should run this command here. 

If stuck, maybe you should open a PMR with IBM Support. 


Permanent link


Step 1:Configure Database Vendor and Connection Type
Database Vendor:
Connection Type:
Step 2:Configure Database Connection Properties
Property Current Value
JDBC Password
The password of the JDBC database. This value will be substituted into the JDBC location value where {password} is found.
Default Value
none
JDBC Location
The location of the JDBC database. If the location will contain the password, use the value {password} instead of the actual password.
Example: //ipAddress:ipPort/location:user=jazzDBuser;password={password};
Default Value
none
Schema Prefix
The prefix used for all Jazz schemas.
Default Value
none
DB2z database name
DB2z database name as defined during the CREATE DATABASE configuration step
Default Value
JAZZDB01
The configuration test resulted in errors. Resolve the errors to continue. For more details, open the help system and search for CRJAZ1579E.ID CRJAZ1579E
show details

0 votes


Permanent link
Hi Sumant,

   So I was trying to run resetRepoLockid command in z/OS by using JOB. Here in z/OS , repotool commands can be run with BLZCREDB sample job. I modified this sample job to run resetLockid command. When i ran this job, got the follwoing exception.

Job log:

********************************* TOP OF DATA **********************************
 CRJAZ1705W The system property "com.ibm.team.repotools.rcp.scriptName" is not s
 Repo Tools                                                                    
 Provisioning using "/etc/rtcconf/jazz401/jts/provision_profiles".             
   Jazz Foundation - Core Libraries, Version 4.0.1 (RJF-I20121109-1457)        
0CRJAZ1363I Loading the configuration from "file:/etc/rtcconf/jazz401/jts/teamse
 CRJAZ1779I This server is configured as a JTS.                                
 CRJAZ2558I Setting the local server rename state to false and the openServerDes
 CRJAZ1093I The following service class was not activated: "com.ibm.team.reposit
 CRJAZ1728E An unexpected error has been detected. See the log file "/rtc4/rtcwo
 ails.                                                                         

The following are from log file.

om.ibm.team.repotools.commands.local.LocalRepositoryCommand.canLoadDatabaseDriver(LocalRepositoryCommand.java:165)
    ... 18 more
Caused by: java.lang.RuntimeException: CRJAZ1238I Jazz has detected another server process is connected to the repository database location "db2z:/192.86.32.83:5025/JTS401".  The server must not be running when running repotools data commands.  Check that only one process is connecting to the database.
    at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.activate(ConnectionPoolService.java:111)
    at com.ibm.team.repository.service.AbstractService.bindRequiredServices(AbstractService.java:191)
    at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindRequiredServices(AbstractActivationManagerOwner.java:252)
    ... 25 more
Caused by: com.ibm.team.repository.common.TeamRepositoryException: CRJAZ1238I Jazz has detected another server process is connected to the repository database location "db2z:/192.86.32.83:5025/JTS401".  The server must not be running when running repotools data commands.  Check that only one process is connecting to the database.
    at
 

Can you any one help us in this resolution.

Thanks --- Viji

0 votes


Permanent link
hi,

  I have resolve this recent issue, error running resetLokid
CRJAZ1238I Jazz has detected another server process is connected to the repository database location "db2z:/192.86.32.83:5025/JTS401".  The server must not be running when running repotools data commands.  C

by stopping WAS server and ran the job.

In WAS actually JTS is running so it also conncets to DB. SO stopped WAS and run the job resolved this issue.

But let me check now in jazz custom setup wizrd.

Regards,
Viji

0 votes

Comments

Hi


Good to know you were able to make progress. Let me know the status with the Jazz setup wizard. 

Thank you 


Permanent link


Hi Sumant,

I have succeeded on Configure Database step.

Now moving further.




Regards,
Viji

0 votes

Comments

Happy for you and good to know you are past this error now :)





Permanent link
Hi Sumant,

In Register Applications



Got this application by default, is this okay, Good to go.
Regards, Viji




0 votes

Comments

Sorry..I don't see the screenshot here.. 


Permanent link


Register Application



But this gives error as

An error occurred while attempting to register the applications.ID CRJAZ1726E

hide details

500 Internal Server Error



0 votes


Permanent link

0 votes


Permanent link

Hi Sumant,

I am inserting picture, but Some time not visible.

Let me try here.




Am getting error here as

 

An error occurred while attempting to register the applications.ID CRJAZ1726E

hide details

500 Internal Server Error


Can you guide me, Thanks --- Viji
 

0 votes

1–15 items
page 1of 1 pagesof 2 pages

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,166

Question asked: Jan 21 '14, 3:23 a.m.

Question was seen: 10,764 times

Last updated: Feb 07 '14, 9:39 a.m.

Confirmation Cancel Confirm