It's all about the answers!

Ask a question

registering qm failed


Simon Eickel (1.1k75457) | asked Jan 10 '13, 7:50 a.m.
retagged Jan 10 '13, 8:48 a.m. by Laura Kuczarski (21137)
Hello together,

I had an installation containing qm. During some problem this was deinstalled, the friends and consumer entries where deleted and qm was newly installed - really fresh using an own profile.

Now I'm facing registration problems when I try to register this application to my jazz server. See the stacktrace below.

Any idea ?

version is 4.0.1 of both - jts server amd rqm.
I'm using WAS in version 7.0.0.23 on a Windows server 2008

Greetings,
Simon

Request to service https://rtcmuqual.rsint.net:9444/qm/service/com.ibm.team.repository.service.internal.setup.IRegistrationHandlerService failed with status code 500 and response body: Error 500: Required service (IInternalOAuthConsumerRegistrationService) not available Caused by: Required service (IInternalOAuthConsumerRegistrationService) not available
com.ibm.team.repository.common.TeamRepositoryException
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.checkHttpResponse(FriendsAdminRestService.java:820)
com.ibm.team.repository.service.internal.discovery.ApplicationRegistrationFriendRestService$UpdatingFriendResponseHandler.handleResponse(ApplicationRegistrationFriendRestService.java:468)
com.ibm.team.repository.service.internal.discovery.ApplicationRegistrationFriendRestService$UpdatingFriendResponseHandler.handleResponse(ApplicationRegistrationFriendRestService.java:1)
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:945)
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.executeHttpRequest(FriendsAdminRestService.java:772)
com.ibm.team.repository.service.internal.discovery.ApplicationRegistrationFriendRestService.notifyAppRegistrationHandler(ApplicationRegistrationFriendRestService.java:361)
com.ibm.team.repository.service.internal.discovery.ApplicationRegistrationFriendRestService.postRegisterApp(ApplicationRegistrationFriendRestService.java:201)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:600)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
$Proxy573.postRegisterApp(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:600)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:541)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2104)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1924)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1800)
javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68)
javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:133)
com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:154)
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935)
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)


Comments
David MICHEL commented Jan 31 '13, 6:10 p.m. | edited Apr 23 '13, 10:16 a.m.

I get the same error message.
RTC 4.0.1
Linux 64 bit

Thank you in advance for your help



Bo Chulindra commented Jan 31 '13, 6:21 p.m.
JAZZ DEVELOPER

are there any errors in the JTS and RQM logs?

2 answers



permanent link
Rogério Ramos da Silva (3352827) | answered Feb 07 '13, 6:58 p.m.
edited Feb 07 '13, 7:01 p.m.
I faced this error when I had installed the CLM in two locations to simulate different environments, both using Derby. I don't know why, but when I put an absolute path to Derby's database location instead of conf/derby... on teamserver.properties all worked fine.

Comments
Bo Chulindra commented Feb 08 '13, 10:07 a.m. | edited Feb 08 '13, 10:08 a.m.
JAZZ DEVELOPER

If the container was WAS, then a relative Derby location would be relative to the WAS profile directory (for example, the database would be located at WASInstallDir/profiles/<profileName>/conf/<appContextRoot>/derby/repositoryDB). I can see how moving an application to a different profile would make the application look in the wrong place for its database (since its DB is in the old profile) unless the database is moved or the derby location is changed to absolute.

Note that it would be preferred that the application uses the derby location as relative to JAZZ_HOME but that hasn't been changed yet.


permanent link
Simon Eickel (1.1k75457) | answered Feb 08 '13, 4:18 a.m.
edited Apr 23 '13, 6:14 a.m.
Hi,

my problem reported at the top is solved.
The problem was that I splitted my applications to two WAS profiles while updating to 4.0.1.
Before the update I had one profile containing jts, ccm and rqm and after the upgrade I had two profiles, one containing jts and ccm and the other containing rqm.

This seems to be some kind of server rename (port changed) and could not be done so easy.
So, after rebuilding rqm back to stay inside the other profile again registering was possible again.

Greetings,
Simon

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.