Eclipse debugger WTFs
Bug renders Eclipse debugger useless if class has/uses generics:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=344856
Also, Eclipse Glassfish plugins are incapable of launching in debug mode unless the domain.xml is set up to use the default debug port (9009). if your domain.xml has been changed or customized, Eclipse will not be able to attach the debugger when launching the server in debug mode. Unfortunately, the "connection refused" doesn't give you much of a clue what's going on.
http://stackoverflow.com/questions/8344454/oepe-glassfish-debug-connection-refused
https://bugs.eclipse.org/bugs/show_bug.cgi?id=344856
Also, Eclipse Glassfish plugins are incapable of launching in debug mode unless the domain.xml is set up to use the default debug port (9009). if your domain.xml has been changed or customized, Eclipse will not be able to attach the debugger when launching the server in debug mode. Unfortunately, the "connection refused" doesn't give you much of a clue what's going on.
http://stackoverflow.com/questions/8344454/oepe-glassfish-debug-connection-refused
Written on March 6, 2012