Home Navigation

Thursday 22 December 2016

Configure Auto Deploy option Websphere 8 application server

- Login to websphere application server admin console, then go to the application->Global deployment settings


- Make sure to check mark the option "Monitor directory to automatically deploy application
- Give a directory path as your wish, or you may keep the default one which is reside in the Installation_root directory.
- Set the polling interval


I have set the below options


- Save and apply the settings and restart your server

make sure the directory you set is exists



Now drop EAR, WAR, JAR file to C:\RSA\monitoredDeployableApps\servers\server1, the application will be installed automatically. Monitor directory to automatically deploy applications.

To uninstall an application file that was previously installed using monitored directory

You can also install, update, or uninstall an application file by dragging or copying an application properties file to a monitored directory. The properties file must specify the deployment actions to be performed.

By default, monitored directory deployment is disabled.

Monitored directory
Specifies the directory to use for monitored directory deployment. The default monitored directory is monitoredDeployableApps. Using this setting, you can specify a different default monitored directory.

For deployment by dragging or copying an enterprise application file to a monitored directory, the directory to which you add enterprise application files depends upon the product profile:

•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.

For deployment using properties files, the monitored directory is a subdirectory named deploymentProperties of the directory specified by this setting; for example, monitoredDeployableApps/deploymentProperties.

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. Monitor directory to automatically deploy applications must be enabled to change this setting.

REF: http://www.webspheretools.com/sites/webspheretools.nsf/docs/WebSphere%208%20Auto%20Deploy

No comments:

Post a Comment