Set enterprise application files
We can change the configuration of a Java EE application or module deployed on a server.
We can change the contents of and deployment descriptors for an application or module before deployment, such as in an assembly tool. However, it is assumed that the module is already deployed on a server.
Changing an application or module configuration consists of one or more of the following:
- Changing the settings of the application or module
- Removing a file from an application or module
- Updating the application or its modules
This page describes how to change the settings of an application or module using the admin console.
If an application is running, changing an application setting causes the application to restart.
On stand-alone servers, the application restarts after you save the change. On multiple-server products, the application restarts after you save the change and files synchronize on the node where the application is installed. To control when synchronization occurs on multiple-server products, deselect Synchronize changes with nodes on the Console preferences page.
- View current settings of the application or module.
Click
Applications | Application Types | WebSphere enterprise apps | application_name...to access the enterprise application settings page.
Many application or module settings are available on other console pages that we can access by clicking links on the settings page for the enterprise application. For detailed information on the settings and allowed values, examine the online help for the console pages. When you installed the application or module, you specified most of the settings values.
- Map each module of the application to a target server.
Specify the appservers, clusters of appservers, or Web servers onto which to install modules of the application.
- Change how quickly the application starts compared to other applications or to the server.
- Set the use of binary files.
- Change how the application or Web modules use class loaders.
- Map a virtual host for each Web module of the application. Set virtual hosts provides information on virtual hosts.
- Change application bindings or other settings of the application or module.
- Go to...
Applications | Application Types | WebSphere enterprise apps | application_name | property_or_item_name
From the application settings page, we can access console pages for further configuring of the application or module.
- Change the values for settings as needed, and click OK.
- Configure the application so it does not start automatically when the server starts. By default, an installed application starts when the server on which the application resides starts. Configure the target mapping for the application so the application does not start automatically when the server starts. To start the application, then start it manually.
- If the installed application or module uses a resource adapter archive (RAR file), verify the Classpath setting for the RAR file enables the RAR file to find the classes and resources that it needs. Examine the Classpath setting on the console Resource adapter settings page.
Results
The application or module configuration is changed. The application or standalone Web module is restarted so the changes take effect.
What to do next
If the application or module is deployed on a cluster and we have no more configuration changes to make, click Rollout Update on the Enterprise applications page to propagate the changed configuration on all cluster members of the cluster on which the application or module is deployed. Rollout Update sequentially updates the configuration on the nodes that contain cluster members.
Save changes to the admin configuration.
On multiple-server products, the application binaries are transferred to nodes when the configuration changes on the dmgr synchronize with configurations for individual nodes on which the application will run.
Related tasks
Deploy enterprise apps
Application bindings
Set application startup
Set binary location and use
Set the use of class loaders by an application
Manage modules settings
Mapping modules to servers
Mapping virtual hosts for Web modules
Mapping properties for a custom login or trusted connection configuration
View deployment descriptors
Related
Metadata for module settings
Enterprise application settings
Target specific application status
Application profile collection
Asynchronous request dispatching settings
Context root for Web modules settings
Correct use of the system identity
EJB JNDI names for beans
EJB module settings
EJB references
Environment entries for Web modules settings
Remote dispatcher property settings
Initial parameters for servlets settings
JSP and JSF option settings
Security role to user or group mapping
Last participant support extension settings
Application scoped resources
Resource references
Shared library reference and mapping settings
Session management settings
Virtual hosts settings
Stateful session beans failover settings (applications)
Stateful session beans failover settings (EJB modules)
Map data sources for all 2.x CMP beans settings
Map data sources for all 2.x CMP beans
Provide JMS and EJB endpoint URL information
Publish WSDL zip files settings
Provide HTTP endpoint URL information
Web module deployment settings
Service providers collection at the application level
Service provider policy sets and bindings collection
Service clients collection at the application level
Service client.policy set and bindings collection
SQLj profiles and pureQuery bind files settings