Troubleshooting
Problem
Attempts to debug java code using IBM Rational Rhapsody-Eclipse Integration results "Failed to connect to remote VM. Connection refused. Connection refused: connect" error
Symptom
You receive the following error:
"Failed to connect to remote VM. Connection refused. Connection refused: connect"
Cause
In the rhapsody.ini file the value of suspend is set to 'n' for the entry "Debug3=-Xrunjdwp:transport=dt_socket,address=6743,server=y,suspend=n"
Resolving The Problem
The following steps will help you resolve this issue
- Navigate to the "Rhapsody Installation Directory"
- Open the rhapsody.ini file in edit mode
- Change the value of suspend to 'y' i.e., "Debug3=-Xrunjdwp:transport=dt_socket,address=6743,server=y,suspend=y"
- Save the rhapsody.ini
- Open the Rhapsody project and it would allow you to debug from Eclipse.
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.3;7.5.2.1;7.5.2;7.5.1.1;7.5.1;7.5.0.1;7.5;7.4.0.1;7.4;7.3;7.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21468224