Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Deploy applications > Install enterprise application files by adding them to a monitored directory


Set monitored directory deployment values

Before you can use monitored directory deployment, you must enable it. We can optionally change the default monitored directory and polling interval values. By default, monitored directory deployment is not enabled, the monitored directory is WAS_HOME/monitoredDeployableApps, and the polling interval is 5 seconds.

See topics on monitored directory deployment to determine whether monitored directory deployment offers a suitable way to deploy your enterprise application files:

Restriction: Installing an enterprise application file by adding a file to a monitored directory is available only on distributed and z/OS operating systems. It is not supported on IBM i operating systems.

We can use an admin console or wsadmin scripting to enable or disable monitored directory deployment and change the monitored directory and polling interval.

A monitoredDirectoryDeployment object has the following attributes:

enabled

Default is false. Set to true to enable monitored directory deployment.

monitoredDirectory

Default is USER_INSTALL_ROOT}/monitoredDeployableApps. Optionally set to a different file system directory.

To change the default monitored directory, specify a different directory path for this setting. List the entire value for the directory, including the environment variable.

For base (stand-alone) application servers, the default monitored directory is the monitoredDeployableApps/servers/server_name

directory of the application server profile.

For dmgrs, the default monitored directories are the monitoredDeployableApps/servers/server_name

monitoredDeployableApps/nodes/node_name/servers/server_name

and monitoredDeployableApps/clusters/cluster_name directories of the dmgr profile.

pollingInterval

Default is 5 seconds. Optionally set to a different number of seconds. Valid values are 5 or higher. The product changes 0 (zero) or negative values to 5 when the server starts.


Procedure


Results

The product sets monitored directory deployment attributes to the values specified.


What to do next

If you enabled monitored directory deployment, deploy the applications by adding files to a monitored directory.


Related


Global deployment settings
Ways to install enterprise applications or modules
Install enterprise application files by adding them to a monitored directory
Install enterprise application files by adding properties files to a monitored directory
Start the wsadmin scripting client using wsadmin.sh


Related


Directory conventions

+

Search Tips   |   Advanced Search