Hi,
I am in the final stages with one of my projects and need to debug the application remotely, running on Tomcat 5.0.28 on Linux (RH 3.0 ES).
Now, I read all the forum mails I found about this issues and lots of other faqs, but still can’t seem to manage this …
On the server, I launch using $CATALINA_HOME/bin/catalina.sh jpda start
The original launch script would not set -Xnoagent, so I tried adding this, but with no success …
The actual CATALINA_OPTS looks like this (I altered the launch script to show it): -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=8321,server=y,suspend=n
I configured a remote debug session pointing to the proper IP and port (8321) and also selected the right project to debug …
But whenever I try to debug, I get this message:
Exception occured during launch
Reason:
Failed to connect to remote VM. Connection refused.
What am I doing wrong? I can’t think of anything and also couldn’t find anything pointing me to a problem I might have …
Thanks,
Chris