You can use the WebSphere administrative console to install and uninstall enterprise applications on your application server.
Install applications with the administrative console
To install an application, follow these steps:
Expand Applications and click Install New Application.
Specify the path of the application that you want to install.
/QIBM/UserData/WebASE/ASE5/myAppSvr/installableApps/myApp.ear
Note: 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.
If the application is a WAR module, specify the context root.
Click Next.
Specify options for bindings and mappings.
Click Next.
Note: 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.
Provide options to perform the installation
On this panel, you can specify several general options that determine how WebSphere Application Server - Express installs your application.
Note: Because WebSphere Application Server - Express does not support enterprise beans, the Deploy EJBs option does not apply. Ignore this option.
Map resource references to resources
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 Finish. The resources are defined in your WebSphere Application Server - Express configuration.
Map virtual hosts for web modules
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.
Note: You should never select the admin_host virtual host. This is a special virtual host used by the WebSphere administrative console application.
Map security roles to users/groups
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 Everyone or All Authenticated to each role. To select specific users or groups from the user registry:
Map RunAs roles to user
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 Apply.
Mapping Resource Environment References to Resources
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 Finish.
Replacing RunAs System to RunAs Roles
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.
On the Summary panel, verify that the installation settings are correct. For the Cell/Node/Server item, click Click here to verify the settings.
Click Finish.
Save the configuration. The application is registered with the administrative configuration and application files are copied to the target directory when you save the configuration.
Uninstall applications with the administrative console
To uninstall an application with the administrative console, follow these steps: