Glassfish start and stop domain on Windows

From the command line we can start and stop the domain by carrying out the following codes, I assume that you have installed glassfish 4 in root C drive

Start a domain:

C:\glassfish4\glassfish\bin\asadmin.bat start-domain domain1

Stop a domain:

C:\glassfish4\glassfish\bin\asadmin.bat stop-domain domain1

Leave a Reply

Your email address will not be published. Required fields are marked *