It's all about the answers!

Ask a question

Cannot register rm and qm application to JTS


anoop mc (74811200221) | asked Oct 16 '14, 6:17 a.m.
retagged Oct 16 '14, 9:50 a.m. by Laura W. Hinson (16126)
 when I tried to register the rm and qm application to JTS 4.0.6 getting the below error, for ccm I could successfully complete 

registering with the JTS server.

An error occurred while attempting to access the Application About service listed in the Discovery document 

for this application. Please ensure that the application has been installed and provisioned correctly.ID 

CRJAZ2082E
show details


An error occurred communicating with the server at "https://<servername>.com:9443/qm/scr". Verify that the 

server is available, and that there are no firewalls or other artifacts between these two endpoints that could 

present a confirmation dialog.ID CRJAZ2287E
com.ibm.team.repository.common.TeamRepositoryException
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.executeHttpRequest

(FriendsAdminRestService.java:777)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.getDiscoveryDocumentModel

(FriendsAdminRestService.java:759)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.getAboutServiceContent

(FriendsAdminRestService.java:949)
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.$Proxy272.getAboutServiceContent(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:530)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2359)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2153)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1963)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
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:722)
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:722)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
java.lang.Thread.run(Thread.java:761)
Caused by:
Connection to https://<servername>.com:9443 refused (org.apache.http.conn.HttpHostConnectException)
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection

(DefaultClientConnectionOperator.java:158)
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
... 53 more.
Caused by:
Connection refused: connect (java.net.ConnectException)
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412)
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271)
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258)

qm_to_jts_register


Comments
1
Georg Kellner commented Oct 16 '14, 7:27 a.m.

Can you access the .../qm/rootservices and .../qm/scr URL via browser?

Accepted answer


permanent link
anoop mc (74811200221) | answered Oct 16 '14, 8:25 a.m.
 I was not able to access the ./qm/rootservices and .../qm/scr URL via browser.

After some time I only figured out the steps which i followed is 
1. Stopped the Apache Tomcat Service.
2. Started the Jazz Service on QM Server using script - server.startup 
3. Tried to register the application  using the JTS URL.
4. I could see the application getting listed out.

Note: Here I suspect the issue with Tomcat. Then I navigated to the path - E:\Program Files\IBM\JazzTeamServer406\server\tomcat\bin 

Opened the tomcat7W and checked all the options.I noticed that java options were missing (I think during configuration we have missed that) but the service was in started state.
Providing that for the other RM server in this way made it successfully registered.

tomcat_issue



Ralph Schoon selected this answer as the correct answer

One other answer



permanent link
anoop mc (74811200221) | answered Oct 22 '14, 2:52 a.m.
 The issue occurred because I tried to register applications separately after completing the JTS setup

We redid the whole thing again (as this is a development instance new setup) and tried registering applications during JTS Setup and it worked.

register_app_jts_setup

Comments
Ralph Schoon commented Oct 22 '14, 6:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You should be able to register single applications without any problems - provided you configured the infrastructure and applications correctly.

Your answers that indicate the tomcat service was not set up correctly matches that you had not and that caused the problems.

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.