C:\glassfish\bin\asadmin.bat start-domain domain1
C:\glassfish\bin\asadmin.bat --host localhost --port 4848 enable-secure-admin