Skip to Content
Java EE 8 Application Development
book

Java EE 8 Application Development

by David R. Heffelfinger
December 2017
Intermediate to advanced
372 pages
8h 46m
English
Packt Publishing
Content preview from Java EE 8 Application Development

Starting GlassFish

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

./asadmin start-domain
The preceding command, and most commands shown in this chapter assume a Unix or Unix-like operating system, such as Linux or macOS. For Windows systems, the initial ./ is not necessary.

A few short seconds after executing the preceding command, we should see a message similar to the following at the bottom of the terminal:

Waiting for domain1 to start ..............
    
    
Successfully started the domain : domain1
    
    
domain  Location: /home/heffel/glassfish-5/glassfish5/glassfish/domains/domain1
    
    
Log File: /home/heffel/glassfish-  5/glassfish5/glassfish/domains/domain1/logs/server.log ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java EE 8 Development with Eclipse

Java EE 8 Development with Eclipse

Ram Kulkarni
Beginning EJB in Java EE 8: Building Applications with Enterprise JavaBeans

Beginning EJB in Java EE 8: Building Applications with Enterprise JavaBeans

Jonathan Wetherbee, Massimo Nardone, Chirag Rathod, Raghu Kodali

Publisher Resources

ISBN: 9781788293679Supplemental Content