4.8.3 Deploying applications
To deploy an application, execute the deploy subcommand of the asadmin utility command. To start the application, you must deploy it on a Java EE server (server instance).
Prerequisites
-
The domain administration server (DAS) is running.
-
Setup of Application Server is complete.
-
The relevant applications have been received from the application developers.
Intended users
-
System engineers
Procedure
To deploy the application to a server instance, run the deploy subcommand of the asadmin utility command.
asadmin deploy --target server_instance_name_or_cluster_name file_path_of_application
-
In a configuration where only one Java EE server is deployed, specify the server instance name for the --target option.
-
In a cluster configuration where more than one Java EE server is deployed, specify the cluster name for the --target option.
When this command is run, the result is displayed as follows:
Application deployed with name application_name. Command deploy executed successfully.
-
Repeat step 1 for each application that you want to deploy.
Postrequisites
-
Confirming the running state of applications.