It's all about the answers!

Ask a question

Connection to https://localhost:9443 refused


m sawires (1463268) | asked Aug 01 '09, 4:39 p.m.
Hello,
I installed the HelloJfs sample on a Tomcat 6 server. When I created a server instance in WTP it asked me to install Tomcat 6 because there was missing a library, which I did (there is a tomcat directory that comes with jfs but I can't use it to create a server instance in Eclipse due to this missing lib). Now when I try to connect I get a connection refused. I cannot connect to localhost anymore. How can I debug this?

Thanks for your help.

Below is the error stack
org.apache.http.conn.HttpHostConnectException: Connection to https://localhost:9443 refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:133)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:349)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at com.ibm.team.jfs.app.http.cache.HttpCache.executeCacheMiss(HttpCache.java:183)
at com.ibm.team.jfs.app.http.cache.HttpCache.execute(HttpCache.java:115)
at com.ibm.team.jfs.app.http.cache.HttpCache.execute(HttpCache.java:96)
at com.ibm.team.http.client.impl.HttpClientService.send(HttpClientService.java:165)
at com.example.Config.getJfsRootServicesBinding(Config.java:146)
at com.example.Config.<init>(Config.java:59)
at com.example.Config.getInstance(Config.java:73)
at com.example.ServiceBase.service(ServiceBase.java:39)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:81)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.ibm.team.http.client.impl.NaiveSSLSocketFactory.connectSocket(NaiveSSLSocketFactory.java:110)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:129)
... 27 more
org.apache.http.conn.HttpHostConnectException: Connection to https://localhost:9443 refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:133)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:349)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at com.ibm.team.jfs.app.http.cache.HttpCache.executeCacheMiss(HttpCache.java:183)
at com.ibm.team.jfs.app.http.cache.HttpCache.execute(HttpCache.java:115)
at com.ibm.team.jfs.app.http.cache.HttpCache.execute(HttpCache.java:96)
at com.ibm.team.http.client.impl.HttpClientService.send(HttpClientService.java:165)
at com.example.Config.getJfsRootServicesBinding(Config.java:146)
at com.example.Config.<init>(Config.java:59)
at com.example.Config.getInstance(Config.java:73)
at com.example.ServiceBase.service(ServiceBase.java:39)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:81)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.ibm.team.http.client.impl.NaiveSSLSocketFactory.connectSocket(NaiveSSLSocketFactory.java:110)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:129)
... 27 more

One answer



permanent link
Stephanie Bagot (2.1k1513) | answered Aug 10 '09, 2:09 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Rational Team Concert only supports up to Tomcat v.5.5 as per the server requirements
http://www-01.ibm.com/support/docview.wss?rs=3488&uid=swg27015746#HTTP
However, if you cannot open up the Tomcat webpage I suggest you search Tomcat documentation. Sorry I could not be further help.

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.