O'Reilly logo

Java EE 6 with GlassFish 3 Application Server by David R. Heffelfinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Verifying the installation

To start GlassFish, change the directory to [glassfish installation directory]/glassfishv3/bin and execute the following command:

./asadmin start-domain domain1

Note

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: [4848].

We can then open a browser window and type the following URL in the browser's location text field: http://localhost:8080.

If everything ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required