It's all about the answers!

Ask a question

Deployed custom test type did not populate in the test script editor and when trying to fix it by rebuilding the database, encountered the CRJAZ1972E error


anuraag kb (918) | asked Sep 08 '20, 9:37 a.m.
edited Sep 17 '20, 8:06 a.m.
[Solved by using right jar] I was trying to deploy custom test type in ETM and the test type wasn't getting populated in the Script Editor. The qm.txt log file in the directory ~\JazzTeamServer\server\liberty\servers\clm\logs also did not contain any error message related to my custom test type during startup of the server or when loading the Script editor. I performed rebuild of the database using the repotools-qm -createTables  command, and the server returned the below error message after I input the credentials for ETM:

An error occurred while communicating with the server.

HTTP 503: CRJAZ1972E The "com.ibm.rational.test.lm.service.option.OptionRestService" service failed to activate because a service that it depends on, "com.ibm.rational.test.lm.service.IProcessService", failed to be activated.


Please find below the snippet from the qm.txt log file in the directory ~\JazzTeamServer\server\liberty\servers\clm\logs containing the below errors:

2020-09-08 23:11:41,896 [     Default Executor-thread-3]  INFO pository.service.internal.ServerDescriptionService  - CRJAZ1778I This server is configured as an application.
2020-09-08 23:11:41,904 [     Default Executor-thread-3]  INFO rvice.mapping.internal.ServerRenameProgressService  - CRJAZ2558I Setting the local server rename state to false and the openServerDescriptionServiceTemporarily state to false.
2020-09-08 23:11:42,413 [     Default Executor-thread-3]  INFO .repository.service.internal.rdb.ConnectionFactory  - CRJAZ1365I The server is attempting to connect to the following database: "conf/qm/derby/repositoryDB"
2020-09-08 23:11:42,870 [     Default Executor-thread-3]  INFO .repository.service.internal.rdb.ConnectionFactory  - CRJAZ1364I The connection to the following database was successful:
 Db Product Name: Apache Derby
  Db Product Version: 10.10.2.0 - (1582446)
  Db URL: jdbc:derby:D:/ELM/JazzTeamServer/server/conf/qm/derby/repositoryDB;create=true
  Jdbc Driver Class: org.apache.derby.jdbc.EmbeddedDriver
  Jdbc Driver Location: file:/D:/ELM/JazzTeamServer/server/liberty/servers/clm/workarea/org.eclipse.osgi/90/data/temp/default_node/SMF_WebContainer/qm/qm/eclipse/configuration/org.eclipse.osgi/201/0/.cp/derby.jar
  Jdbc Driver Name: Apache Derby Embedded JDBC Driver
  Jdbc Driver Version: 10.10.2.0 - (1582446)
  SchemaPrefix: 
 
2020-09-08 23:11:43,069 [     Default Executor-thread-3]  INFO pository.service.internal.ServerDescriptionService  - CRJAZ1970I The application is configured with: 
  Jazz Team Server location: "https://10.115.83.166:9443/jts/"
2020-09-08 23:11:48,000 [     Default Executor-thread-3]  INFO mapping.internal.GlobalServerRenameProgressService  - CRJAZ2523I Setting the global server rename state to false and the validation state to false.
2020-09-08 23:11:50,580 [     Default Executor-thread-3]  WARN m.repository.service.internal.issue.IgnoredService  - 0 ignored resources loaded in 35 ms
2020-09-08 23:11:51,159 [     Default Executor-thread-3]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ2076I Product Details:
  Quality Management - Core Libraries, Version 7.0.1 (I20200604_1715)
  Jazz Foundation - Core Libraries, Version 7.0.1 (RJF-SERVER-I20200604-1300)

2020-09-08 23:12:08,892 [Default Executor-thread-29 @@ 23:12 <unauthenticated> <JazzHttpClient@10.115.83.166> /qm/linkIndex/linkIndexProviderUri] ERROR ository.common.transport.AbstractElementDescriptor  - Exception thrown while retrieving IAuthHandler implementation
com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1972E The "com.ibm.team.repository.service.internal.oauth.OAuthHandler" service failed to activate because a service that it depends on, "com.ibm.team.repository.service.internal.oauth.IOAuthHandlerService", failed to be activated.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:437)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:929)
at com.ibm.team.repository.common.transport.internal.registry.ExtensionServiceActivationManagerOwner.doActivate(ExtensionServiceActivationManagerOwner.java:92)
at com.ibm.team.repository.common.transport.internal.registry.ExtensionServiceActivationManagerOwner.forceActivate(ExtensionServiceActivationManagerOwner.java:114)
at com.ibm.team.repository.common.transport.registry.ExtensionServiceElementDescriptor.getImplementation(ExtensionServiceElementDescriptor.java:369)
at com.ibm.team.repository.common.transport.registry.ExtensionServiceElementDescriptor.getImplementation(ExtensionServiceElementDescriptor.java:345)
at com.ibm.team.repository.internal.servlet.registry.AuthAdvisorDescriptor$AuthHandlerElementDescriptor.getImplementation(AuthAdvisorDescriptor.java:124)
at com.ibm.team.repository.internal.servlet.registry.AuthAdvisorDescriptor.getHandler(AuthAdvisorDescriptor.java:157)
at com.ibm.team.repository.internal.servlet.registry.AuthAdvisorRegistry.getAuthHandler(AuthAdvisorRegistry.java:77)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleAuthentication(AbstractTeamServerServlet.java:2266)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1927)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:729)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:426)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:182)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:176)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:210)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:1001)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1139)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:5021)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:314)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1007)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1134)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:415)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:374)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:548)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:482)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:347)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:318)
at com.ibm.ws.channel.ssl.internal.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1077)
at com.ibm.ws.channel.ssl.internal.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:656)
at com.ibm.ws.channel.ssl.internal.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1803)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:958)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1047)
at com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:239)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.lang.Thread.run(Thread.java:812)
Caused by: com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1972E The "com.ibm.team.repository.service.internal.oauth.OAuthHandlerService" service failed to activate because a service that it depends on, "com.ibm.team.repository.service.internal.oauth.IInternalOAuthServiceProvider", failed to be activated.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:437)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:929)
at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:133)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:317)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:326)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:426)

Comments
Ralph Schoon commented Sep 08 '20, 9:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The question is pointless and does not contain any useful information. See How should I ask a question in the Forum if I want to receive useful answers? if you want to fix that. 


anuraag kb commented Sep 08 '20, 1:51 p.m.

Thanks. [Edited] 

One answer



permanent link
Subhajit Bhuiya (6222) | answered Sep 09 '20, 1:42 a.m.
JAZZ DEVELOPER

 Not sure about your custom plugin. May be the plugin is missing required service in plugin.xml

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.