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

Failed to connect to remote VM when trying to connect the dubugger to tomact.

I'm following the Extensions Workshop and  I'm getting the following error when I try Attach the Eclipse debugger to the RTC server in step 25

"Launching [RTCExt] Debug Running Tomcat" launch configuration has encountered a problem.
Failed to connect to remote VM. Connection refused.
Connection refused: connect

0 votes

Comments

Okay, so I hit this same problem and yet, I checked the port/host in the configurations and I believe they are correct (since I didn't change them).

I'm assuming this may be something odd with this laptop (new one just installed) with Windows 7, as I also get the same message when I try to do FTP from a command line (I ftp, login, i can change directory, but my first "ls" gives me an error as well).  I've attempted to even disable Windows firewall and that didnt' help, so I assume it is something else.  Anyone good with WIndows 7??

Susan


Accepted answer

Permanent link
Found it!
I had missed the step of updating the port value for the "[RTCExt] Debug Running Tomcat" debug configuration.

The steps are mentioned in the PDF file but here they are anyway.
1)In the eclipse window, click on the debug icon drop down, select "Debug Configurations" from the list
2) Under "Remote Java Application" in the left column select "[RTCExt] Debug Running Tomcat"
3) Select the Connect tab and verify the Host and Port properties are set correctly.
DJ Houghton selected this answer as the correct answer

2 votes

Comments

perhaps you can mark your answer as the "accepted answer"?

Hi Bo, I don't seem to have that option for self answered questions.

Your answer

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,505

Question asked: Sep 19 '12, 8:23 a.m.

Question was seen: 45,272 times

Last updated: Jul 05 '14, 1:47 a.m.

Confirmation Cancel Confirm