Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


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

Intended users

Procedure

  1. 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.
  2. Repeat step 1 for each application that you want to deploy.

Postrequisites