I have trying to use remote debugging for Java applets. I m using Java 7 update 51 and when i try to load the applets this is displyed in the java console and then it is struck.
network: Connecting http://domain.com/useradmin3.gif with proxy=DIRECT
network: Connecting http://domain.com/ with proxy=DIRECT
preloader: Stop progressCheck thread
I have passed the following as runtime parameters in the Javacpl: "-Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=8007,server=y,suspend=n"
I did figure out the casue for this issue. I have a page which contains multiple applets. And i have set the Java params for remote debugging. Whenever i load the page, it loads two JVMs for the page which i am not sure why. So for the first JVM it uses the port no. mentioned for listening. But for the second JVM, the same port no. is supposed to be used as the Java params are defined globally. So the second JVM gets hangs while waiting for the port to get free.
I did come up with a workaround for this problem and let me know if anyone need it.