It looks like GlassFish doesn't have permissions to create the file \domains\domain1\logs\server.log.lck. Did you run GlassFish with the same user which owns the GlassFish installation? Can you check if you can create a file in \domains\domain1\logs\ manually?