Installed the GlassFish plugin in Eclipse. Tried to add a new server. Specified the path
"/Users/adminuser/dev/java/glassfish3/glassfish/domains/domain1" as the domain Directory and got the error
"Invalid GlassFish domain"