I am on Vista. I no longer get this error, after I modified properties of the "domain1" folder to give my account full control of it. As an alternative, you can install GlassFish in a directory other then c:\Program Files\ . . . (the default).
Alan
[Message sent by forum member 'jalanthomas']
http://forums.java.net/jive/thread.jspa?messageID=411101