Updating applications consists of adding a new file or module to an installed application, or replacing or removing an installed application, file or module.
Next, refer to Ways to update application files and decide how to update your application files. You can update enterprise applications or modules using the administrative console, the wsadmin tool, or Java MBean programming. These ways provide similar updating capabilities.
Further, ensure that the updated files can be installed to your deployment targets.
When you update a full application in a single-server product, after you save the changes, the old version of the application is uninstalled and the new version is installed into the configuration. The application binaries for the old version are deleted from the destination directory and the new binaries are copied to the directory.
In a multiple-server product, after you click Save the old application files are deleted and new files are copied when the configuration on the deployment manager synchronizes with the configuration on the node where the application is installed.
If the application is running when you update it, the application stops running before its files are copied to the destination directory of the node and restarts after the copy operation completes. Thus, the application is unavailable on the node during the time the node is synchronizing its configuration with the deployment manager.
For all applications, including applications that contain Web modules, examine the Enable class reloading and Reload interval values on the enterprise application settings page. If reloading of application files is enabled and the reloading interval is greater than zero (0), the application's files are reloaded after the application is updated.
To enable reloading for only the Web modules in an application, deselect Enable class reloading. Then, in the ibm-web-ext.xmi file for the application, set the reloadingEnabled extension to true and specify a value, in seconds, for the reloadInterval extension. You can set reloadingEnabled to true and specify an integer for reloadInterval when editing your Web module's extended deployment descriptors in an assembly tool.
If the application is updated while it is running, the product automatically stops the application or only its changed components, updates the application logic, and restarts the stopped application or its components. For more information on the restarting of updated applications, refer to Fine-grained recycle behavior in IBM WebSphere Developer Technical Journal: System management for WebSphere Application Server V6 -- Part 5 Flexible options for updating deployed applications.
In this information ...Related concepts
Related reference
| IBM Redbooks, demos, education, and more(Index) |