Debugging a Clustered GlassFish
By pelegri on Apr 25, 2007
Say you want to debug a clustered deployment. So you open your laptop, start your appserver cluster with debugging enabled, then start one instance first, then the second instance, and ... wham! you have a port collision because both instances try to open the same jdwp port! But this has changed...
Byron reports that starting in b45 (downloads) this has been fixed: you can start the instances and delay the debugging port binding. The syntax is not (yet?) pretty, but it is very useable. Check out Byron's blog for the details!
BTW, I see that the last posted build is GFv2b 43; I'll check the status on b45 and will update this blog.