It's all about the answers!

Ask a question

java.net.ConnectException


Vikash Singh (423065) | asked Feb 17 '15, 4:40 a.m.

I am running the server.startup from C:\RTC40Dev\installs\JazzTeamServer\server but it shows the below exception

Feb 17, 2015 3:05:44 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\RTC50Dev\installs\JazzTeamServer\serv
er\tomcat\webapps\clmhelp.war
Feb 17, 2015 3:05:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\RTC50Dev\installs\JazzTeamServer\serv
er\tomcat\webapps\jts.war
Feb 17, 2015 3:05:48 PM com.ibm.team.osgi.patch.PatchConfigurator addHooks
INFO: Patch service started
Feb 17, 2015 3:05:48 PM com.ibm.team.osgi.patch.PatchConfigurator addHooks
INFO: No patches found
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://331.fwk591471425/org/slf4j/impl/Static
LoggerBinder.class]
SLF4J: Found binding in [bundleresource://331.fwk591471425:1/org/slf4j/impl/Stat
icLoggerBinder.class]
SLF4J: Found binding in [bundleresource://331.fwk591471425:2/org/slf4j/impl/Stat
icLoggerBinder.class]
SLF4J: Found binding in [bundleresource://331.fwk591471425:3/org/slf4j/impl/Stat
icLoggerBinder.class]
SLF4J: Found binding in [bundleresource://331.fwk591471425:4/org/slf4j/impl/Stat
icLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

Feb 17, 2015 3:05:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\RTC50Dev\installs\JazzTeamServer\se
rver\tomcat\webapps\ROOT
Feb 17, 2015 3:05:58 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9080"]
Feb 17, 2015 3:05:58 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9443"]
Feb 17, 2015 3:05:58 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-9009"]
Feb 17, 2015 3:05:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 37981 ms
java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)
        at java.net.Socket.connect(Socket.java:546)
        at java.net.Socket.connect(Socket.java:495)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:437)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:551)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:227)
        at sun.net.www.http.HttpClient.New(HttpClient.java:313)
        at sun.net.www.http.HttpClient.New(HttpClient.java:332)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:999)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:978)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:853)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1207)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:390
)
        at com.ibm.ut.help.common.web.ProxyUtil.followRedirects(ProxyUtil.java:2
12)
        at com.ibm.ut.help.common.web.ProxyUtil.getConnection(ProxyUtil.java:236
)
        at com.ibm.ut.help.common.web.URLUtil.getConnection(URLUtil.java:39)
        at com.ibm.ut.help.common.web.URLUtil.getStream(URLUtil.java:44)
        at com.ibm.ccl.ut.help.info.entry.NavTree.categorizeTocXML(NavTree.java:
246)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at com.ibm.ccl.ut.help.info.IndexThread.run(IndexThread.java:105)

How to solve above problem.

One answer



permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Feb 17 '15, 7:07 a.m.
Hi Vikash,
It happens sometimes, especially when you start Tomcat first time. I usually restart CLM server and then it runs OK.

Comments
Vikash Singh commented Feb 17 '15, 7:53 a.m.

Hello ,

        Can you explain how to start CLM server ?


Krzysztof Kaźmierczyk commented Feb 17 '15, 9:14 a.m.

Hi Vikash,
Click server.shutdown to stop it and then server.startup to start it again.
Let us know if that helps.


Vikash Singh commented Feb 18 '15, 7:15 a.m.

Hello Krzysztof,

          Thanks for the reply. Above solution is not working.  I am trying to setup from https://jazz.net/library/article/1000 In this site please go through  the  RTC Extension Workshop and into that pdf "setup to run the server in debug mode" at page 22,23. This error is occur at this step.

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.