Deploy an EAR or WAR to a running GlassFish domain. If the domain is stopped, the operation will exit with an error. You can place the startDomain operation earlier in the workflow to verify that it is running if you aren't sure.
If you are wondering what a GlassFish mast password is and whether you need it, the link https://blogs.oracle.com/alexismp/entry/what_is_a_glassfish_master may be helpful.
...