Configure binary location and use
We can designate where binary files (binaries) used by the application reside, whether the product distributes binaries for you automatically, and otherwise configure the use of binaries.
The application or module is already deployed on a server.
We can change the settings of an application or module using the administrative console.
If an application is running, changing an application setting causes the application to restart. On stand-alone servers, the application restarts after we save the change. On multiple-server products, the application restarts after we save the change and files synchronize on the node where the application is installed. To control when synchronization occurs on multiple-server products, deselect Synchronize changes with nodes on the Console preferences page.
Tasks
- Click Applications > Application Types > WebSphere enterprise applications > application_name > Application binaries in the console navigation tree.
The Application binaries page is displayed.
- Specify the directory to hold the application binaries.
The default is ${APP_INSTALL_ROOT}/cell, where the ${APP_INSTALL_ROOT} variable is profile_root/installedApps. For example:
(Dist) (ZOS)C:/WebSphere/AppServer/profiles/profile/installedApps/cell(iSeries)profile_root/installedApps/cellRefer to Application binary settings for a detailed description of the Location (full path) setting.
- Specify the bindings, extensions, and deployment descriptors an application server uses.
By default, an application server uses the bindings, extensions, and deployment descriptors located with the application deployment document, the deployment.xml file.
To specify that the application server use the bindings, extensions, and deployment descriptors located in the application archive (EAR) file, select Use configuration information in binary.
- Specify whether the product distributes application binaries automatically to other nodes on the cell.
By default, Enable binary distribution, expansion and cleanup post uninstallation is selected and binaries are distributed automatically.
The Enable binary distribution, expansion and cleanup post uninstallation value is not intended to be changed after the application is installed. To change this attribute, uninstall the application and install it with the new value for the attribute.
If we disable this option, ensure that the application binaries are expanded appropriately in the destination directories of all nodes where the application runs.
If we disable this option and we do not copy and expand the application binaries to the nodes, a later saving of the configuration or manual synchronization does not move the application binaries to the nodes for you.
- Specify access permissions for binaries.
- Ensure that the Enable binary distribution, expansion and cleanup post uninstallation option is enabled. That option must be enabled to specify access permissions for binaries.
- For File permissions, specify a string that defines access permissions for binaries that are expanded in the named location.
We can specify file permissions in the text field. We can also set some of the commonly used file permissions by selecting them from the multiple-selection list. List selections overwrite file permissions set in the text field.
For details on File permissions, refer to Application binary settings.
- Click OK.
The application or module configuration is changed. The application or stand-alone web module is restarted so the changes take effect.
What to do next
If the application or module is deployed on a cluster and we have no more configuration changes to make, click Rollout Update on the Enterprise applications page to propagate the changed configuration on all cluster members of the cluster on which the application or module is deployed. Rollout Update sequentially updates the configuration on the nodes that contain cluster members.
Save changes to the administrative configuration.
In multiple-server products, the application binaries are transferred to nodes when the configuration changes on the deployment manager synchronize with configurations for individual nodes on which the application will run.
Subtopics
- Application binary settings
Configure the location and distribution of application binary files.
Related:
Application bindings Configure enterprise application files Deploy and administering enterprise applications Install enterprise application files Enterprise application collection Enterprise application settings