To start GlassFish, change the directory to
[glassfish installation directory]/glassfishv3/bin and execute the following command:
./asadmin start-domain domain1
This command and most commands shown in this chapter assume a Unix or Unix-like operating system. For windows systems, the initial "./" is not necessary.
A few seconds after executing the previous command, we should see a message similar to the following at the bottom of the terminal:
Name of the domain started: [domain1] and its location: [/home/heffel/glassfishv3/glassfish/domains/domain1]. Admin port for the domain: .
We can then open a browser window and type the following URL in the browser's location text field:
If everything ...