Hi,
Please don't you Glassfish3.0 with netbeans 6.9.
Because when you deploy it tries to build you EAR file and at the same time it tries to deploy to Glassfish too.
You will not face this with when you use Glassfish2.1 with Netbeanse6.9
[b]You will find this bug on netbeans.org too.[/b]
[Message sent by forum member 'mihirkumarpaulatsya']
http://forums.java.net/jive/thread.jspa?messageID=480004