![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[z/OS]](../images/ngzos.gif)
Setting monitored directory deployment values
Before you can use the monitored directory application deployment service, you must enable it. You can optionally change the default monitored directory and polling interval values. By default, the monitored directory application deployment service is not enabled, the monitored directory is app_server_root/monitoredDeployableApps, and the polling interval is 5 seconds.
Before you begin
See topics on monitored directory deployment to determine whether monitored directory deployment offers a suitable way to deploy your enterprise application files:
- Installing enterprise application files by adding them to a monitored directory
- Installing enterprise application files by adding properties files to a monitored directory
- 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.]
- The monitored directory application deployment service is not supported on nodes that are registered with an administrative agent.
About this task
You can use an administrative 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 deployment managers, 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 deployment manager 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 that you specified.
What to do next
If you enabled monitored directory deployment, deploy your applications by adding files to a monitored directory.