How to Deploy and Undeploy an Application in Oracle GlassFish Application Server

The easiest way of deploying an application through the command line is by using the following command:

# asadmin deploy [ path of file ]/webapp1.war

Access the webapp1 application by typing the following URL in your browser:


The asadmin executable can be used to undeploy an application as well by issuing the following command:

# asadmin undeploy webapp1

The following message should be shown at the bottom of the terminal window:

Command undeploy executed successfully


Popular posts from this blog

How to create Oracle stored Procedures using TOAD for Oracle

How to Create Packages in Oracle Database using TOAD for Oracle

Create Tables in Oracle Database using TOAD