Community
Participate
Working Groups
If I include -Dcom.sun.management.jmxremote in the vmargs used to launch Eclipse, I find that my JUnit test runner is hanging then eventually errors out without running tests: Could not connect to: : 1191 java.net.ConnectException: Connection refused: connect <stack trace> If I remove the -D argument, it all works. I am running with Eclipse 3.2 M5a and a Sun 1.5.0_06 VM. Working launch command: C:\eclipse\3.2\eclipse.exe -vm C:\java\jdk1.5.0_06\bin\javaw.exe -showLocation -vmargs -Xmx512m Failing launch command: C:\eclipse\3.2\eclipse.exe -vm C:\java\jdk1.5.0_06\bin\javaw.exe -showLocation -vmargs -Xmx512m -Dcom.sun.management.jmxremote
JUnit is handled by JDT/UI. Move to JDT/UI
Markus, maybe you have an idea.
I could not reproduce. Ron, is this only a problem when running JUnit Plug-in Tests or does it also occur when you run an Eclipse Application? And, could you please append the stacktrace?
Setting to remind - waiting for more information.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.