IBM


14.5.2 Replacing or adding an application module

To replace only a module, such as an EJB or Web module of an application...

1. Select Applications  | Enterprise Applications. Select the application to update and click the Update button.

2. On the Preparing for the application installation window, select the Replace or add a single module option.

3. In the Specify the path beginning with the installed application archive file... field, enter the relative path to the module to replace. For example, if you were to replace the HelloWeb module, enter HelloWeb. If you enter a path or file that does not exist in the EAR file, it will be added.

4. Select either the Local file system or Remote file system option and click the Browse button to select the updated module.

5. For Web modules, also enter the context root (for example, HelloWeb) in the Context root field.

6. Click Next.

7. Proceed through the remaining windows and make any necessary changes. For information about the windows, see Deploying the application. On the Summary window, click Finish.

If you are adding a module, make sure to select the correct target server for the module in the Map modules to servers step.

8. When the application has been updated in the Master repository, select the Save link.

9. If you are working in a distributed server environment, make sure that you also synchronize the changes with the nodes.

10. If the application update changes the set of URLs handled by the application (servlet mappings added, removed, or modified), make sure the Web server plug-in is regenerated and propagated to the Web server.

Modules can also be managed using the Manage Modules page. Select Applications  | Enterprise Applications and click the link for the application. Then click the Manage Modules link in the Modules section. Select the module to modify and then click the Remove, Update, or Remove File buttons.


Redbooks ibm.com/redbooks

Next