ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/admin/acappinst.htm

107 lines
9.8 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>Install and uninstall applications with the WebSphere administrative console</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3><a name="acappinst"></a>Install and uninstall applications with the WebSphere administrative console</h3>
<p>You can use the WebSphere administrative console to install and uninstall enterprise applications on your application server.</p>
<ul>
<li><a href="#inst">Install applications with the administrative console</a></li>
<li><a href="#rem">Uninstall applications with the administrative console</a></li>
</ul>
<p><strong><a name="inst">Install applications with the administrative console</a></strong></p>
<p>To install an application, follow these steps:</p>
<ol>
<li><p><a href="acstart.htm">Start the WebSphere administrative console</a>.</p></li>
<li><p>Expand <strong>Applications</strong> and click <strong>Install New Application</strong>.</p></li>
<li><p>Specify the path of the application that you want to install.</p>
<ul>
<li>If the application is stored on your workstation, select <strong>Local path</strong>.</li>
<li>If the application is stored on a node in your WebSphere Application Server - Express cell, select <strong>Server path</strong>. For a server path, specify the fully qualified path of the application. For example, if the EAR file myApp.ear for your application is located in the installableApps directory of the myAppSvr instance, specify:
<pre>/QIBM/UserData/WebASE/ASE5/myAppSvr/installableApps/myApp.ear</pre>
<p><strong>Note:</strong> When using the Server path option, the QEJBSVR user profile must have *RX authority to the EAR or WAR file and the directory where the file is located.</p></li>
</ul><p></p></li>
<li><p>If the application is a WAR module, specify the context root.</p></li>
<li><p>Click <strong>Next</strong>.</p></li>
<li><p>Specify options for bindings and mappings.</p></li>
<li><p>Click <strong>Next</strong>.</p>
<p><strong>Note:</strong> WebSphere Application Server - Express reads the deployment descriptor of your application before it displays the next page. It uses the information from the deployment descriptor to determine which information you need to provide before you install the application. As a result, you may not see all of the panels described here.</p></li>
<li><p><strong>Provide options to perform the installation</strong><br>
On this panel, you can specify several general options that determine how WebSphere Application Server - Express installs your application.</p>
<ol type="a">
<li>If you want WebSphere Application Server - Express to precompile JavaServer Pages (JSP) files as part of the installation, select <strong>Pre-compile JSP</strong>. If you do not select this option, JSPs are compiled the first time they are accessed.</li>
<li>Specify the directory where you want to install the application EAR file. By default, the application is installed in the /QIBM/UserData/WebASE/ASE5/<em>instance</em>/installedApps/<em>node</em> directory, where <em>instance</em> is the name of your instance and <em>node</em> is the name of the node for your instance. It is recommended that you use the default value.</li>
<li>Specify where the application configuration used during runtime comes from. If this option is not selected, configurations specified during application installation, and stored in the configuration files, are used. If this option is selected, the configuration specified during installation is ignored, and the settings in the original application are used. The default is not to use the binary configuration. It is recommended that you use the default setting.</li>
<li>Specify a name for the application. Application names must be unique within a cell.
<p><strong>Note:</strong> Because WebSphere Application Server - Express does not support enterprise beans, the <strong>Deploy EJBs</strong> option does not apply. Ignore this option.</p></li>
<li>By default, WebSphere Application Server - Express creates MBeans for various resources (such as servlets or JSP files) within an application when the application is started. These MBeans allow you to use the the HTTP Server Adminisration interface and the wsadmin administrative tool to manage your application. It is recommended that you use the HTTP Server Administration interface to manage applications. If you do not want to use this capability, deselect this option.</li>
<li>To enable class reloading when application files are updated, select <strong>Enable class reloading</strong>. If you enable class reloading, you can update your application and apply the changes without restarting the application server. In addition, WebSphere Application Server - Express periodically scans the application for updates. It may be convenient to have reloading turned on in a development environment. In a production environment, it is suggested that you disable class reloading, or that you specify a long reload interval.</li>
<li>If you enable class reloading, you can also specify the reload interval (in seconds). This value specifies how often the application server scans the application's file system for updated files. The default value is specified by the reload interval attribute in the IBM extension (META-INF/ibm-application-ext.xmi) file of the EAR file or the IBM extension file for each Web module in the EAR file.</li>
</ol><p></p></li>
<li><p><strong>Map resource references to resources</strong><br>
If your application defines resource references, specify JNDI names for the resources that represent the logical names defined in resource references. You must bind all of the resource references to a resource before you click <strong>Finish</strong>. The resources are defined in your WebSphere Application Server - Express configuration.</p></li>
<li><p><strong>Map virtual hosts for web modules</strong><br>
If your application contains Web modules, you must map each Web module to a virtual host. Select a virtual host to map to a Web module defined in the application. The port number specified in the virtual host definition is used in the URL that is used to access objects such as servlets and JSP files in the Web module.</p>
<p><strong>Note:</strong> You should never select the admin_host virtual host. This is a special virtual host used by the WebSphere administrative console application.</p></li>
<li><p><strong>Map security roles to users/groups</strong><br>
If the application has security roles defined in its deployment descriptor, you can specify users and groups to map to each role. Select the checkbox beside Role to select all of the roles or select individual roles. You can map predefined users such as <strong>Everyone</strong> or <strong>All Authenticated</strong> to each role. To select specific users or groups from the user registry:</p>
<ol type="a">
<li>Select a role and click <strong>Lookup users</strong> or <strong>Lookup groups</strong>.</li>
<li>On the Lookup users/groups panel, enter search criteria to view a list of users or groups from the user registry.</li>
<li>Select one or more users or groups from the results displayed.</li>
<li>Click <strong>OK</strong> to map the selected users or groups to the selected role or roles.</li>
</ol><p></p></li>
<li><p><strong>Map RunAs roles to user</strong><br>
If the application's deployment descriptor defines one or more RunAs roles, specify the RunAs user name and password for every RunAs role. RunAs roles are used by enterprise beans that must run as a particular role while interacting with another enterprise bean. Select the checkbox for the role or roles that you want to configure. After you select a role, enter values for the user name and password, then click <strong>Apply</strong>.</p></li>
<li><p><strong>Mapping Resource Environment References to Resources</strong><br>
If your application contains resource environment references, specify JNDI names of resources that map to the logical names defined by the references. If each resource environment reference does not have a resource associated with it, the installation wizard displays a validation error when you click <strong>Finish</strong>.</p></li>
<li><p><strong>Replacing RunAs System to RunAs Roles</strong><br>
If your application defines RunAs Identity as System Identity, you can optionally change it to RunAs role and specify a user name and password for the RunAs role specified. Selecting System Identity implies that the invocation is done using the WebSphere Application Server - Express security server ID and should be used with caution.</p></li>
<li><p>On the <strong>Summary</strong> panel, verify that the installation settings are correct. For the Cell/Node/Server item, click <strong>Click here</strong> to verify the settings.</p></li>
<li><p>Click <strong>Finish</strong>.</p></li>
<li><p><a href="acsave.htm">Save the configuration</a>. The application is registered with the administrative configuration and application files are copied to the target directory when you save the configuration.</p></li>
</ol>
<p><strong><a name="rem">Uninstall applications with the administrative console</a></strong></p>
<p>To uninstall an application with the administrative console, follow these steps:</p>
<ol>
<li><a href="acstart.htm">Start the WebSphere administrative console</a>.</li>
<li>Expand <strong>Applications</strong> and click <strong>Enterprise applications</strong>.</li>
<li>Select the check box for the application or applications that you want to remove.</li>
<li>Click <strong>Uninstall</strong>.</li>
<li><a href="acsave.htm">Save the configuration</a>.</li>
</ol>
</body>
</html>