WAS v8.5 > Deploy applications > Deploy enterprise applications > Install enterprise application files by adding them to a monitored directory

Set monitored directory deployment values

Before we can use monitored directory deployment, 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 app_server_root/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 dmgr 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.

pollingInterval

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


Results

WAS v8.5 sets monitored directory deployment attributes to the values that you specified.

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


Subtopics


Related concepts:

Ways to install enterprise applications or modules


Related


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


Reference:

Directory conventions


+

Search Tips   |   Advanced Search