I have the same problem with configuration:
JDK 1.6.0
NetBeans 5.5.1 the last build
Glassfish v2 b40 and b41
Windows XP
I usually ran in this issue when I switch from "run project" to "debug project" in netbeans environment.
[Message sent by forum member 'vladperl' (vladperl)]
http://forums.java.net/jive/thread.jspa?messageID=210735