8.4.4. Redeploy an Application to a Standalone Server Instance with the Deployment Scanner
Prerequisites
This task shows a method for redeploying applications to a standalone server instance that have been deployed with the deployment scanner. As indicated in the Section 8.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 8.9. Task
Redeploy the application
There are three possible methods to redeploy an application deployed with the deployment scanner. These methods trigger the deployment scanner to initiate a deployment cycle, and can be chosen to suit personal preference.Redeploy by altering the marker file
Trigger the deployment scanner redeployment by altering the marker file's access and modification timestamp. In the following Linux example, a Unixtouchcommand is used.Example 8.3. Redeploy with the Unix
touchcommand[user@host bin]$
touchEAP_HOME/standalone/deployments/example.war.dodeployResultThe deployment scanner detects a change in the marker file and redeploys the application. A new
.deployedfile marker replaces the previous.Redeploy by creating a new
.dodeploymarker fileTrigger the deployment scanner redeployment by creating a new.dodeploymarker file. Refer to the manual deployment instructions in Section 8.4.2, “Deploy an Application to a Standalone Server Instance with the Deployment Scanner”.Redeploy by deleting the marker file
As described in Section 8.4.5, “Reference for Deployment Scanner Marker Files”, deleting a deployed application's.deployedmarker file will trigger an undeployment and create an.undeployedmarker. Deleting the undeployment marker will trigger the deployment cycle again. Refer to Section 8.4.3, “Undeploy an Application to a Standalone Server Instance with the Deployment Scanner” for further information.
The application file is redeployed.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.