12.1.4 Installing the EAR

This topic discusses how to install an EAR file in WebSphere AEs using the admin console. During this task, you will install the application files (.ear, .jar, and

.war).

To install an application:

1.Expand the tree on the left side of the console to locate Nodes—>hostname—>Enterprise Applications.

2.Select Enterprise Applications.

The right side of the console should display the list of zero or more installed applications (as .ear files).

3.Click the Install button displayed on the right side of the console, above the list of installed applications.

Here you need to specify the location of the application or module, referring to the application property reference as needed to fill in the field values, and the application name.

Note: Use the first set of fields if the console and application files are on the same machine (whether or not the server is on that machine, too). Use the second set of fields (including remote path) if the application files already reside on the same machine as the server, and the console is being run from a remote machine. See the field help for further discussion of the remote file path.

4.Click Next.

5.On the next page select Virtual Host Name.

Follow the instructions on the resulting Task wizard. Depending on the components in your application, various panels will be displayed:

Modify Role to User Mapping (valid for all applications).

Modify EJB Run as Role to User Mapping (valid for applications containing EJB modules with one or more entity beans that use the IBM deployment descriptor extension for Run As Settings, Run As Mode, Run As Specified Identity).

Modify EJB to JNDI Name Mapping (valid for applications containing EJB modules).

Modify EJB Reference to JNDI Name Mapping (valid for applications containing EJB modules with EJB references in their deployment descriptors).

286 WebSphere Studio Application Developer Programming Guide

Page 302
Image 302
IBM Version 5 manual Installing the EAR, Select Enterprise Applications