Basics Refresher: Sun Application Server

This works on glassfish as well

Command Does
asadmin start-domain Starts the domain called domain1
asadmin start-domain –verbose domain1 As above but provides lots of logging information
asadmin stop-domain domain1 Stops the domain
asadmin start-database Starts the JavaDB database
asadmin stop-database Stops the database

The admin console will default to http://localhost:4848