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

131 lines
5.0 KiB
HTML
Raw 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>Change or add application files</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h5><a name="acahotapp"></a>Change or add application files</h5>
<p>You can change or add application files on an application server without stopping and restarting the server. You can perform any of these updates while the application server is running:</p>
<ul>
<li><a href="#updapp">Update an application on a running server (provide a new EAR file)</a></li>
<li><a href="#addapp">Add a new application to a running server</a></li>
<li><a href="#remapp">Remove an application from a running server</a></li>
<li><a href="#addmod">Add a new Web module to an existing, running application</a></li>
<li><a href="#chgappxml">Change the application.xml file for an application</a></li>
<li><a href="#chgextxmi">Change the ibm-app-ext.xmi file for an application</a></li>
<li><a href="#chgbndxmi">Change the ibm-app-bnd.xmi file for an application</a></li>
<li><a href="#chgjar">Change a non-module JAR file contained in the EAR file</a></li>
</ul>
<p><strong>Note:</strong> The variable <em>application_root</em> represents the directory that contains the expanded application files. See step 1 on <a href="acahot.htm">Use hot deployment and dynamic reloading</a> for information about the location of the metadata files.</p>
<p><strong><a name="updapp"></a>Update an application on a running server (provide a new EAR file)</strong></p>
<p>Use the administrative console or wsadmin to install an updated version of an application.</p>
<ul>
<li>Hot deployment: Yes</li>
<li>Dynamic reloading: Yes</li>
<li>Restart the application: Not applicable</li>
</ul>
<p><strong><a name="addapp"></a>Add a new application to a running server</strong></p>
<p>Use the administrative console or wsadmin to install a new application.</p>
<ul>
<li>Hot deployment: Yes</li>
<li>Dynamic reloading: No</li>
<li>Restart the application: Not applicable</li>
</ul>
<p><strong><a name="remapp"></a>Remove an application from a running server</strong></p>
<p>Use the administrative console or wsadmin to stop the application and uninstall it from the server.</p>
<ul>
<li>Hot deployment: Yes</li>
<li>Dynamic reloading: No</li>
<li>Restart the application: Not applicable</li>
</ul>
<p><strong><a name="addmod"></a>Add a new Web module to an existing, running application</strong></p>
<ol>
<li>Update the application files in the <em>application_root</em> location.</li>
<li>Use the administrative console or wsadmin to stop and restart the application.</li>
</ol>
<ul>
<li>Hot deployment: Yes</li>
<li>Dynamic reloading: No</li>
<li>Restart the application: Yes</li>
</ul>
<p><strong><a name="chgappxml"></a>Change the application.xml file for an application</strong></p>
<ol>
<li>Update the application.xml file.</li>
<li>Use the administrative console or wsadmin to stop and restart the application. Automatic reloading does not detect changes to this file.</li>
</ol>
<ul>
<li>Hot deployment: Not applicable</li>
<li>Dynamic reloading: Yes</li>
<li>Restart the application: Yes</li>
</ul>
<p><strong><a name="chgextxmi"></a>Change the ibm-app-ext.xmi file for an application</strong></p>
<ol>
<li>Update the ibm-app-ext.xmi file.</li>
<li>Use the administrative console or wsadmin to stop and restart the application. Automatic reloading does not detect changes to this file.</li>
</ol>
<ul>
<li>Hot deployment: Not applicable</li>
<li>Dynamic reloading: Yes</li>
<li>Restart the application: Yes</li>
</ul>
<p><strong><a name="chgbndxmi"></a>Change the ibm-app-bnd.xmi file for an application</strong></p>
<ol>
<li>Update the ibm-app-bnd.xmi file.</li>
<li>Use the administrative console or wsadmin to stop and restart the application. Automatic reloading does not detect changes to this file.</li>
</ol>
<ul>
<li>Hot deployment: Not applicable</li>
<li>Dynamic reloading: Yes</li>
<li>Restart the application: Yes</li>
</ul>
<p><strong><a name="chgjar"></a>Change a non-module JAR file that is contained in the EAR file</strong></p>
<ol>
<li>Update the JAR file in the <em>application_root</em> location.</li>
<li>Update the application.
<ul>
<li>If automatic reloading is not enabled, use the administrative console or wsadmin to stop and restart the application.</li>
<li>If automatic reloading is enabled, you do not need to restart the application. Automatic reloading detects the change and updates the application.</li>
</ul></li>
</ol>
<ul>
<li>Hot deployment: Yes</li>
<li>Dynamic reloading: Yes</li>
<li>Restart the application: If automatic reloading is not enabled</li>
</ul>
</body>
</html>