The sample application must be available before you start this task. To download the sample, see Obtaining a Sample Application.
Create a directory named as-install/domains/domain-name/autodeploy
domain-name is the name of the domain for which you want to configure automatic deployment. For this example, use the default domain1 domain:
as-install/domains/domain1/autodeploy |
Copy the application WAR file to the as-install/domains/domain-name/autodeploy directory.
cp sample-dir/hello.war as-install/domains/domain-name/autodeploy
Enterprise Server automatically discovers and starts the application.