You can configure two properties of deployment: the pickup directory into which you copy applications for hot-deployment and the deployment timeout. To change either of these properties, edit the deployer.config
file in the $SERVER_HOME/config
directory and change the value of the pickupDir
or deploymentTimeoutSeconds
options. The following listing displays the default configuration distributed with the dm Server.
{ "deployer" : { "pickupDir" : "pickup", "version" : 1.0, "deploymentTimeoutSeconds" : 300 } }
As the default configuration shows, the default pickup directory is SERVER_HOME/pickup
and the deployment timeout is 300 seconds. If you want to disable deployment timeout, set the option to 0
.
The version
option is for internal SpringSource dm Server use; do not change that value.