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:


http://localhost:8080/webapp1


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



Comments

Popular posts from this blog

What is Oracle Integration Cloud Service - ICS?

How to Create Packages in Oracle Database using TOAD for Oracle

How to create a Simple Scheduler Job in Oracle Database using Toad