286 WebSphere Studio Application Developer Programming Guide
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 in stall the application files (.ear, .jar, and
.war).
To install an application:
1. Expand the tree on the left side of the console to locat e
Nodes—>hostname—>Enterprise Applications.
2. Select Enterprise Applications.
The right side of the console s hould 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 fi ll in the field values, and the
application name.
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).
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). Us e
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.