December 2017
Intermediate to advanced
372 pages
8h 46m
English
To start GlassFish from the command line, change the directory to [glassfish installation directory]/glassfish5/bin, and execute the following command:
./asadmin start-domain
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 ...