10.5.2. Deploy an Application to a Standalone Server Instance with the Deployment Scanner
This task shows a method for deploying applications to a standalone server instance with the deployment scanner. As indicated in the Section 10.1, “About Application Deployment” topic, this method is retained for the convenience of developers, where the Management Console and Management CLI methods are recommended for application management under production environments.
Procedure 10.9. Use the Deployment Scanner to Deploy Applications
Copy content to the deployment folderCopy the application file to the deployment folder found at
Deployment scanning modesThere are two application deployment methods. You can choose between automatic and manual deployment scanner modes. Before starting either of the deployment methods, read Section 10.5.8, “Configure the Deployment Scanner with the Management CLI”.
Automatic deploymentThe deployment scanner picks up a change to the state of the folder and creates a marker file as defined in Section 10.5.8, “Configure the Deployment Scanner with the Management CLI”.
Manual deploymentThe deployment scanner requires a marker file to trigger the deployment process. The following example uses the Unix
touchcommand to create a new
Example 10.5. Deploy with the
The application file is deployed to the application server. A marker file is created in the deployment folder to indicate the successful deployment, and the application is flagged as
Enabled in the Management Console.
Example 10.6. Deployment folder contents after deployment