I have java ee6 web profile sdk & I am using eclipse ee. I installed Glassfish plugin for eclipse using Download additional server adapters in the New Serve
I ran into this same problem and fixed it with the following:
C:\glassfish3\glassfish\bin (or whatever your glassfish directory is)asadmin--adminport 4848 domain1 (your debug port can probably be whatever)