It's all about the answers!

Ask a question

Cannot register Jazz Reporting Service with JTS


0
1
Geoffrey Rosenthal (10135) | asked Sep 23 '14, 8:03 p.m.
JAZZ DEVELOPER
I'm installing/configuring CLM 5.0.1.  I've been trying to configure the Jazz Reporting Service, but its been fighting me almost every step of the way.  I'm installing on WAS 8.5.  My databases are on DB2 10.1.

I've deployed JRS (I think successfully) into a WAS profile.  I've re-run the JTS/setup and I'm trying to register this new JRS application.  I provided https://clm.myclm50.local:9444/rs/scr as the discovery URL.  I get an error with the registration:

The applications could not be registered with Jazz Team Server.ID CRJAZ1726E
hide details
Request to service https://clm.myclm50.local:9444/rs/jts-registration failed with status code 500 and response body: Error 500: java.lang.NullPointerException
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:384)
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:277)
com.ibm.team.repository.service.internal.discovery.ApplicationRegistrationFriendRestService.postRegisterApp(ApplicationRegistrationFriendRestService.java:189)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
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)
com.sun.proxy.$Proxy415.postRegisterApp(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:543)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2287)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2079)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1889)
javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
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:668)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
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:1862)


Does anyone have any ideas how to fix this?

5 answers



permanent link
Kim Soederhamn (1.4k23536) | answered Jun 10 '16, 7:44 a.m.
 This error can also occur when there is a calls cast error due to rs.war bringing in some files that can not be casted correctly in this version.

see
https://jazz.net/library/article/1460

In our case we had to delete the 2 files (renaming them as the workaround suggested didn't work as the classes were still being registered)


permanent link
Paula Martinez (6) | answered May 19 '15, 8:28 a.m.
Hello.

I'm installing/configuring CLM 5.0.1.  I've been trying to configure the Jazz Reporting Service, and I find exactly the same error with the registration that is reported by Geoffrey.

I don't see the answer of the question in this posts. How could you finally resolve it?




Comments
Francesco Chiossi commented May 19 '15, 8:37 a.m.

See the answer above form Geoffrey Rosenthal:

I'm updating this topics in case anyone else ever runs into this issue.  As it turned out, I had my JAZZ_HOME variable in my WebSphere instance incorrectly defined.  Apparently another indication of this besides the errors above was that a rs.log file was never created in my WAS logs folder.  I thought this little nugget was a good piece on information.


Paula Martinez commented May 19 '15, 9:04 a.m.

I've checked before.

My JAVA_HOME is configured in WAS like this:

file:///E:/RATIONAL/ibm/RRDI/jrs/JazzTeamServer/server/conf

This is the correct path in my installation, but the error persist when I try to register JRS from JTS.


permanent link
Geoffrey Rosenthal (10135) | answered Sep 26 '14, 12:51 p.m.
JAZZ DEVELOPER
I'm updating this topics in case anyone else ever runs into this issue.  As it turned out, I had my JAZZ_HOME variable in my WebSphere instance incorrectly defined.  Apparently another indication of this besides the errors above was that a rs.log file was never created in my WAS logs folder.  I thought this little nugget was a good piece on information.

Comments
Georg Kellner commented Mar 20 '17, 12:25 p.m.

A very good piece of information. ;-)


permanent link
Geoffrey Rosenthal (10135) | answered Sep 24 '14, 12:06 p.m.
JAZZ DEVELOPER
Hitting rs/scr produces a valid response (as far as I can tell) with XML in the web browser that shows RDF entries for registration, server rename status, etc.

I do have the following errors in the WAS system.out of the JRS server:

[9/24/14 8:57:27:340 PDT] 00000161 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [rs_war] [/rs] [ScrServlet]: Initialization successful.
[9/24/14 8:57:27:558 PDT] 00000161 WebContainer  E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /favicon.ico has not been defined.
[9/24/14 8:57:27:604 PDT] 00000161 WebContainer  E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /favicon.ico has not been defined.
[9/24/14 9:02:52:089 PDT] 00000161 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [rs_war] [/rs] [ApplicationAboutServlet]: Initialization successful.
[9/24/14 9:02:54:456 PDT] 00000161 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [rs_war] [/rs] [RootServicesServlet]: Initialization successful.
[9/24/14 9:02:54:620 PDT] 00000161 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [rs_war] [/rs] [JtsRegistrationServlet]: Initialization successful.
[9/24/14 9:02:54:622 PDT] 00000161 BaseJtsRegist I com.ibm.team.integration.reporting.common.extensions.BaseJtsRegistrationHandler setupConfiguration CRRGW0003I Set OAuth consumer key and secret.
[9/24/14 9:02:54:622 PDT] 00000161 BaseJtsRegist I com.ibm.team.integration.reporting.common.extensions.BaseJtsRegistrationHandler setupConfiguration CRRGW0005I Set the discovery service URL: https://clm.myclm50.local:9443/jts/discovery
[9/24/14 9:02:54:622 PDT] 00000161 BaseJtsRegist I com.ibm.team.integration.reporting.common.extensions.BaseJtsRegistrationHandler setupConfiguration CRRGW0007I Set the JTS server root URL: https://clm.myclm50.local:9443/jts
[9/24/14 9:02:54:622 PDT] 00000161 BaseJtsRegist I com.ibm.team.integration.reporting.common.extensions.BaseJtsRegistrationHandler setupConfiguration CRRGW0009I Set the application root URL: https://clm.myclm50.local:9444/
[9/24/14 9:02:54:626 PDT] 00000161 ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: An exception was thrown by one of the service methods of the servlet [JtsRegistrationServlet] in application [rs_war]. Exception created : [java.lang.NullPointerException
    at java.io.FileOutputStream.<init>(FileOutputStream.java:184)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:82)
    at com.ibm.team.integration.reporting.common.configs.AppConfiguration.unloadProperties(AppConfiguration.java:120)
    at com.ibm.team.integration.reporting.common.extensions.BaseJtsRegistrationHandler.setupConfiguration(BaseJtsRegistrationHandler.java:79)
    at com.ibm.team.integration.reporting.common.services.JtsRegistrationServlet.doPost(JtsRegistrationServlet.java:37)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
    at com.ibm.team.integration.reporting.common.services.EncodingFilter.doFilter(EncodingFilter.java:82)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
    at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
]
[9/24/14 9:02:54:663 PDT] 00000161 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\IBM\WebSphere\AppServer\profiles\AppSrv02\logs\ffdc\ReportingServer_e8f7e0b3_14.09.24_09.02.54.6399000244376449688767.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters -RE 1123
[9/24/14 9:02:54:665 PDT] 00000161 LocalTranCoor E   WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[9/24/14 9:02:54:678 PDT] 00000161 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[JtsRegistrationServlet]: java.lang.NullPointerException
    at java.io.FileOutputStream.<init>(FileOutputStream.java:184)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:82)
    at com.ibm.team.integration.reporting.common.configs.AppConfiguration.unloadProperties(AppConfiguration.java:120)
    at com.ibm.team.integration.reporting.common.extensions.BaseJtsRegistrationHandler.setupConfiguration(BaseJtsRegistrationHandler.java:79)
    at com.ibm.team.integration.reporting.common.services.JtsRegistrationServlet.doPost(JtsRegistrationServlet.java:37)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
    at com.ibm.team.integration.reporting.common.services.EncodingFilter.doFilter(EncodingFilter.java:82)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
    at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)


permanent link
James Moody (3.3k24) | answered Sep 23 '14, 8:29 p.m.
JAZZ DEVELOPER
Geoff, is there an error on the JRS side as well? What happens if you hit the JRS's /scr URL in a browser?

Your answer


Register or to post your answer.