9.4.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 9.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 9.7. Use the Deployment Scanner to Deploy Applications
Copy content to the deployment folderCopy the application file to the deployment folder found at
Deployment scanning modesThe application deployment varies between automatic and manual deployment scanner modes.
Automatic deploymentThe deployment scanner picks up a change to the state of the folder and creates a marker file as defined in the Section 9.4.5, “Reference for Deployment Scanner Marker Files” topic.
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 9.1. 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 9.2. Deployment folder contents after deployment