I start
JBoss 6 M5 with
set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%
In Eclipse Eclipse
Java EE
IDE for Web Developers Build id: 20100218-1602
I have Remote Java Application Debug Configuration
Connection Type: Standard (Socket Attach)
Host: localhost
Port 8787
I have used this setup countless times before and it has worked.
I don't know what has changed. Now I keep getting
"Failed to connect to remote VM. Connection refused.
Connection refused: connect"
Restarting Eclipse and even rebooting has not solved this.
TCPView shows me that JBoss listens on port 8787.
I have also tried switching the port to no avail.
Any ideas what might cause this?
Many thanks Hans