Steps to deploy war file on Glassfish 5 Application Server


1)      Download Glassfish 5.0 Full Platform Application Server

2)      Set environment variable for JAVA_HOME



3)      Extract the glassfish.zip file at some location on your system

4)      Go to the bin directory and double click asadmin.bat


5)      Enter the command on terminal to start the glassfish server: start-domain –verbose



6)      Open any browser and enter URL: http://localhost:8080



7)      Click on the link “go to the Administration Console”

8)      Click on “List Deployed Applications” button



9)      Click on “Deploy” button


10)   Choose your war file and click “OK” button




11)   Click on “Launch” link



12)   2 URL will be created for application to run on http and https protocol, click on the links and check your application




No comments:

Post a Comment