I have always liked the command line deployment on any application server. I still don't trust the admin console for deploying my war file on any server.
Many times I have observed that the server doesn't respond if there is a problem in deployment.
Therefore I prefer the command line deployment. Here are few simple steps, which can be used to do web application war file deployment on glassfish server running at Unix/Linx machine.