Path variables in the Sun Java System Application Server 9.1 documentation set have the following default values in the Ubuntu Linux operating system:
as-install is located at /usr/share/glassfishv2
domain-root-dir is located at /var/lib/glassfishv2/domains
domain-dir is a domain directory under domain-root-dir, as in other operating systems
instance-dir is a server instance directory under domain-dir, as in other operating systems
By default, the /usr/bin/asadmin command creates domains in the user-home-directory/glassfishv2/domains directory. For more information, see the asadmin(1) man page.