Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Connection refused when creating a root services friend

Hello everybody,

I am working with Rational Engeneering Lifecycle, I am trying to register a root service friend from the server administration page. The root service that I am trying to register it is the Bugzilla Trs Adapter Example, when I fill all the registration parameters, I am getting this error:




I thought that the cause of this error could be the firewall, so I tried to disable, however nothing changes and I am still having the same error.

Does somebody know how to solve this problem?

I hope someone can help me

Thank you

Mikel



0 votes

Comments

The error:

An error occurred while requesting the root services document from server "http://localhost:8085/OSLC4JBugzilla/rootservices". Please check the URL and try again. ID CRJAZ1575E
hide details

An error occurred communicating with the server at "http://localhost:8085/OSLC4JBugzilla/rootservices". 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.getPropertyFromDiscoveryDocument(FriendsAdminRestService.java:867)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.getFriendsOAuthInfo(FriendsAdminRestService.java:616)
sun.reflect.GeneratedMethodAccessor5143.invoke(Unknown Source)
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.$Proxy1063.getFriendsOAuthInfo(Unknown Source)
sun.reflect.GeneratedMethodAccessor5142.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:527)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2198)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1990)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1800)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
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:727)
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:727)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
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:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:339)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
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 http://localhost:8085 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)
... 52 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)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)
... 58 more.


Can you access the rootservices url via browser?

The requested resource is http://localhost:8085/OSLC4JBugzilla/rootservices. Are you sure that the Bugzilla example is running a server on "localhost" listening at port 8085?

Yes, I can access the rootservices url via browser

I think that the problem there is in the authentication between RELM and the Bugzilla server, when I access from the browser there is no error because there is no authentication as it is not a communication between servers.

I think that the problem there is in the authentication between RELM and the Bugzilla server, when I access from the browser there is no error because there is no authentication as it is not a communication between servers.

showing 5 of 6 show 1 more comments

Be the first one to answer this question!

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,498
× 73

Question asked: Oct 21 '14, 3:20 a.m.

Question was seen: 4,072 times

Last updated: Sep 08 '15, 5:51 a.m.

Confirmation Cancel Confirm