It's all about the answers!

Ask a question

GC Fails to register


Andy Lapping (6838) | asked Jan 30 '19, 9:45 a.m.

 Setting up a new 606 Jazz Team Server (distributed - LQE/RS on one server - every other application on another) - all of the applications register fine except for GC (which is on the same liberty as JTS). Every time I try it flashes a red error which then vanishes instantly to be replaced by a green 'registration complete' message'. The GC app does not appear in the list of apps in setup - hence it never gets initialized - and this causes the final finalization stage to fail. 


Tried unregistering, uninstalling/reinstalling and re-registering - same thing happens every time.

Nothing in JTS log but GC log contains this:

Caused by: java.lang.RuntimeException: CRJAZ1770E The configured database lock id does not match the lock id in the database. If this is a clustered environment, this can be fixed by adding the teamserver property com.ibm.team.repository.unique.cluster.name=<uniqueClusterId> for each application, where uniqueAppId is a unique identifier for each different application deployed.  If not clustered, 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.
at com.ibm.team.repository.service.internal.rdb.DatabaseStateService.reportLockValidationError(DatabaseStateService.java:170)
at com.ibm.team.repository.service.internal.rdb.DatabaseStateService.refreshStateInternal(DatabaseStateService.java:160)
at com.ibm.team.repository.service.internal.rdb.DatabaseStateService.activate(DatabaseStateService.java:92)
at com.ibm.team.repository.service.AbstractService.bindRequiredServices(AbstractService.java:195)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindRequiredServices(AbstractActivationManagerOwner.java:310)
... 73 more
Caused by: com.ibm.team.repository.common.TeamRepositoryException: Server lock id value [none] and database lock id _EiGEYCR5EemHv9VUf_9rwQ do not match for database jdbc:derby:C:/IBM/JAZZTE~1/server/conf/gc/derby/repositoryDB.
at com.ibm.team.repository.service.internal.db.util.RepoLockIdUtil.checkServerToSchemaLockAndReturn(RepoLockIdUtil.java:258)
at com.ibm.team.repository.service.internal.db.util.RepoLockIdUtil.checkServerToSchemaLockAndReturn(RepoLockIdUtil.java:210)
at com.ibm.team.repository.service.internal.rdb.DatabaseStateService.checkServerLockToSchemaLock(DatabaseStateService.java:221)
at com.ibm.team.repository.service.internal.rdb.DatabaseStateService.refreshStateInternal(DatabaseStateService.java:155)
... 76 more
2019-01-30 06:36:22,631 [   Default Executor-thread-147]  INFO rvice.mapping.internal.ServerRenameProgressService  - CRJAZ2558I Setting the local server rename state to false and the openServerDescriptionServiceTemporarily state to false.
2019-01-30 06:36:22,733 [   Default Executor-thread-147]  WARN pository.service.internal.ServerDescriptionService  - CRJAZ1781W The Public URI Root has not been set.  Use the server setup wizard to enter the public URI.  This property is required to enforce consistent URL management in the application.  The public URI represents the URL that all clients must use to access the application.
2019-01-30 06:36:23,341 [   Default Executor-thread-147]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1181W Security notice during initialization: Allowing ADMIN user access.  It is recommended that you disable the ADMIN user and create a real user with administrative rights.
2019-01-30 06:36:23,341 [   Default Executor-thread-147]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ2076I Product Details:
  Jazz Foundation - Core Libraries, Version 6.0.6 (RJF-SERVER-I20180517-1708)
  Global Configuration Management, Version 6.0.6 (RJF-SERVER-I20180517-1708)

2019-01-30 06:36:23,419 [Default Executor-thread-147 @@ 06:36 <unauthenticated> <Java/1.8.0_161@172.16.210.119> /gc/scr]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:36:23,497 [Default Executor-thread-147 @@ 06:36 <unauthenticated> <Java/1.8.0_161@172.16.210.119> /gc/scr]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:36:23,674 [Default Executor-thread-69 @@ 06:36 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:36:23,676 [Default Executor-thread-104 @@ 06:36 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/process-trs2]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:36:30,384 [Default Executor-thread-193 @@ 06:36 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/process-trs2]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:36:30,385 [Default Executor-thread-194 @@ 06:36 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:36:48,863 [Default Executor-thread-259 @@ 06:36 <unauthenticated> <LDX/1.0@127.0.0.1> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:37:36,371 [Default Executor-thread-237 @@ 06:37 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/process-trs2]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:37:36,374 [Default Executor-thread-257 @@ 06:37 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:37:54,795 [Default Executor-thread-180 @@ 06:37 <unauthenticated> <LDX/1.0@127.0.0.1> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:38:41,354 [Default Executor-thread-242 @@ 06:38 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:38:41,422 [Default Executor-thread-352 @@ 06:38 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/process-trs2]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:38:42,286 [Default Executor-thread-405 @@ 06:38 <unauthenticated> <No User Agent@127.0.0.1> /gc/scr]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:38:42,287 [Default Executor-thread-405 @@ 06:38 <unauthenticated> <No User Agent@127.0.0.1> /gc/scr]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:38:42,313 [Default Executor-thread-349 @@ 06:38 ibm <Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/scr]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:38:42,314 [Default Executor-thread-349 @@ 06:38 ibm <Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/scr]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:39:00,779 [Default Executor-thread-353 @@ 06:39 <unauthenticated> <LDX/1.0@127.0.0.1> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:15,509 [Default Executor-thread-344 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/scr]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:15,510 [Default Executor-thread-344 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/scr]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:39:15,530 [Default Executor-thread-47 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/rootservices]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:15,530 [Default Executor-thread-47 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/rootservices]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:39:15,827 [Default Executor-thread-114 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/scr]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:15,843 [Default Executor-thread-114 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/scr]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:39:15,905 [Default Executor-thread-430 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/service/com.ibm.team.repository.service.internal.setup.IRegistrationHandlerService]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:15,905 [Default Executor-thread-430 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/service/com.ibm.team.repository.service.internal.setup.IRegistrationHandlerService]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:39:16,514 [Default Executor-thread-430 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/service/com.ibm.team.repository.service.internal.setup.IRegistrationHandlerService]  INFO pository.service.internal.ServerDescriptionService  - CRJAZ1970I The application is configured with: 
  Public URI: "https://ibmjazz:9443/gc"
  Jazz Team Server location: "https://ibmjazz:9443/jts/"
2019-01-30 06:39:16,624 [Default Executor-thread-480 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/rootservices]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:16,624 [Default Executor-thread-480 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/rootservices]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:39:16,671 [Default Executor-thread-481 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/scr]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:16,671 [Default Executor-thread-481 @@ 06:39 <unauthenticated> <Mozilla/5.0 (Windows NT 10.0, Win64, x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/scr]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:39:16,800 [Default Executor-thread-351 @@ 06:39 ibm <Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/rootservices]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:16,801 [Default Executor-thread-351 @@ 06:39 ibm <Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/rootservices]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "ADMIN" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2019-01-30 06:39:16,812 [Default Executor-thread-427 @@ 06:39 ibm <Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36@127.0.0.1> /gc/service/com.ibm.team.repository.service.internal.setup.ISetupWizardDescriptorService]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:47,326 [Default Executor-thread-186 @@ 06:39 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:39:47,341 [Default Executor-thread-350 @@ 06:39 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/process-trs2]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:40:05,783 [Default Executor-thread-529 @@ 06:40 <unauthenticated> <LDX/1.0@127.0.0.1> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:40:53,330 [Default Executor-thread-563 @@ 06:40 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:40:53,361 [Default Executor-thread-443 @@ 06:40 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/process-trs2]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:41:11,768 [Default Executor-thread-248 @@ 06:41 <unauthenticated> <LDX/1.0@127.0.0.1> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:41:59,416 [Default Executor-thread-541 @@ 06:41 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/trs]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2019-01-30 06:41:59,447 [Default Executor-thread-683 @@ 06:41 <unauthenticated> <LQE/1.0@172.16.210.120> /gc/process-trs2]  WARN nal.compatibility.auth.DelegatedAuthHandlerService  - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.



One answer



permanent link
Andy Lapping (6838) | answered Jan 30 '19, 10:10 a.m.

Fixed it !

Here's what I had to do:
(a) Unregister GC from JTS (and then shutdown the server)
(b) uninstall GC
(c) Manually delete all gc folders from the installation - this is the critical part - the uninstall leaves these behind and it will screw any chance you have - in particular the gc folder in the conf directory (I also removed them from apps and the template folder)
(d) reinstall GC (and then start the server)
(e) re-run the setup - GC may still choke - it did for me (even though i de-registered it it left behind a key which caused a clash) and I had to go and de-register it again - and refresh the setup page - then it registered ok

Your answer


Register or 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.