ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/admin/acaupd.htm

62 lines
5.2 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Update applications</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><a name="acaupd"></a>Update applications</h4>
<p>You can use the administrative console or wsadmin to update an application after you deploy it on an application server. See <a href="wsa.htm">The wsadmin administrative tool</a> for information about using wsadmin. You can also update some applications without stopping and restarting the application or the application server. See <a href="acahot.htm">Use hot deployment and dynamic reloading</a> for more information.</p>
<p>To update an application with the administrative console, follow these steps:</p>
<ol>
<li><p>Use the WebSphere Development Studio Client for iSeries to update and reassemble the application. Updates to the application can include adding or editing assembly properties, adding or importing modules into an application, and adding enterprise beans, Web components, and files.</p></li>
<li><p><a href="acstart.htm">Start the administrative console</a>.</p></li>
<li><p>In the topology tree, expand <strong>Applications</strong> and click <strong>Enterprise Applications</strong>.</p></li>
<li><p>(Optional) Back up the application. Select the check box for the application you want to back up and click <strong>Export</strong>. This operation saves the application as an EAR file and preserves binding information.</p></li>
<li><p>Select the check box for the application that you want to update and click <strong>Update</strong>.</p>
<p>The application server merges the binding information for both versions of the application, then uninstalls the older version and installs updated version.</p></li>
<li><p>Complete the steps in the Preparing for application install page and the pages that follow it.</p>
<p><strong>Note:</strong>The installation process merges binding information from the new version and the old version of the application. All binding information from both versions is present. You can select whether to ignore bindings in the old version or ones in the new version.</p></li>
<li><p>Map the installed application or module to servers or clusters on the <strong>Map modules to application servers</strong> page. If you want to map modules after you install the application, follow these steps:</p>
<ol type="a">
<li>In the topology tree, expand <strong>Applications</strong> and click <strong>Enterprise Applications</strong>.</li>
<li>Click the name of the application that you want to update.</li>
<li>On the application page, click <strong>Map modules to application servers</strong>.</li>
<li>Specify the application server where you want to install the modules.</li>
<li>Click <strong>OK</strong>.</li>
</ol><p></p></li>
<li><p><a href="acsave.htm">Save the configuration</a>. The old version of the application is uninstalled and the updated version is installed when you click <strong>Save</strong>.</p>
<p>If you update an application while it is running, the application stops before the new application files are installed and restarts after the installation. The application is unavailable on the node during the time the node is synchronizing its configuration with the deployment manager.</p></li>
<li><p>Examine the values specified for <strong>Reload Enabled</strong> and <strong>Reload Interval</strong> on the settings page for your enterprise application. For more information about these settings, see <a href="help/urun_rapp_inst.html">Enterprise application settings</a>. <img src="help.gif" width="18" height="15" alt="Go to Help documentation" border="0"> If reloading of application files is enabled and the reload interval is greater than zero (0), the application's files are reloaded after the application is updated. For Web modules such as servlets and JavaServer Pages (JSP) files, a Web container reloads a Web module only when the IBM extension reloadingEnabled in the ibm-web-ext.xmi file is also set to true. You can set reloadingEnabled to true when you edit your Web module's extended deployment descriptors with an assembly tool.</p>
<p><strong>Note:</strong> Depending on your classloader and reload settings, you might need to restart the application server, the application, or both, as described in the next two steps.</p></li>
<li><p>Restart the application so that the changes take effect.</p>
<ol type="a">
<li>Expand <strong>Applications</strong> and click <strong>Enterprise Applications</strong>.</li>
<li>Select the check box for the updated application.</li>
<li>Click Start.</li>
</ol>
<p><strong>Note:</strong> If you update an application that is running, WebSphere Application Server - Express stops the application, updates the application logic, and then restarts the application.</p></li>
<li><p>(Optional) If the application you are updating is deployed on a server that has its application class loader policy set to SINGLE, restart the server.</p></li>
</ol>
</body>
</html>