+

Search Tips   |   Advanced Search

Set monitored directory deployment values

Before we can use the monitored directory application deployment service, enable it. We 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.

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

Restriction:

We 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/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.


Results

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


What to do next

If we 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 tasks

  • 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

  • Directory conventions