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
"Launching [RTCExt] Debug Running Tomcat" launch configuration has encountered a problem.
Failed to connect to remote VM. Connection refused.
Connection refused: connect
Accepted answer
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.
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.
Comments
Susan Hanson
Jul 28 '13, 9:09 a.m.