It's all about the answers!

Ask a question

lscm login command returns with Connection refused: connect


Sheeraz Junejo (1643) | asked Oct 24 '11, 11:10 a.m.
Hi,

I am using Hudson to build on my Unix and Windows platforms by syncing source from RTC. Recently my Windows 2008 Server R2 build fails with following error while connecting to RTC and all my Unix platforms works;

+ lscm login -c -u XXXX -n jazzlive -P myPassword -r http:/abc:9080/jazz

java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:551)
at java.net.Socket.connect(Socket.java:501)
at java.net.Socket.<init>(Socket.java:409)
at java.net.Socket.<init>(Socket.java:223)
at com.ibm.team.filesystem.cli.minimal.client.HttpSwitchingClient.negotiate(HttpSwitchingClient.java:88)
at com.ibm.team.filesystem.cli.minimal.client.FrontEndClient.run(FrontEndClient.java:300)
at com.ibm.team.filesystem.cli.minimal.client.FrontEndClient.run(FrontEndClient.java:126)
at com.ibm.team.filesystem.cli.minimal.client.FrontEndClient.main(FrontEndClient.java:237)


Is there anyway I can find out what is causing it to behave like this. Previously it use to work. I have tried to disable my Antivirus, define new rule within firewall to allow all TCP ports for outgoing connections.

Can anyone help figuring out the issue please. Let me know if you need more information.

Thanks

--

Sjunejo

4 answers



permanent link
Sheeraz Junejo (1643) | answered Oct 24 '11, 11:32 a.m.
Just want to add before I am applying a login command, I start my daemon process and I can see following in my output;

+ nohup scm.sh daemon start C:\home\hudson\Hudson\workspace\SOAFramework_TEST\label\ta2008r2b

21-Sep-2011 09:31:47 com.ibm.team.filesystem.client.internal.LoggingHelper log
WARNING: Status WARNING: com.ibm.team.filesystem.client code=0 Problem detected: your filesystem supports symlinks but you are missing the Eclipse native support for them null
Port: 28240
Key: XXXXXXXXXXXXXXXXX
+ lscm login -c -u XXXX -n jazzlive -P myPassword -r http://abc:9080/jazz


Does this warning is the cause?

Regards,

permanent link
Sheeraz Junejo (1643) | answered Oct 25 '11, 4:16 a.m.
Any idea?

permanent link
Rick Coup (111) | answered Mar 22 '12, 1:57 p.m.
Any idea?


I am experiencing the same error message. Can anyone help?

permanent link
Spencer Murata (2.3k115971) | answered Feb 22 '13, 5:02 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
 Generally I see this problem happening with mixing the 64 and x86 libraries.  Usually its x86 libraries in the Ant tasks mixing with a 64 bit JDK.  Make sure that the bits match up and things should be fine.

~Spencer

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.