7.3. Add a module to all deployments

This task shows how JBoss administrators can define a list of global modules.

Prerequisites

  1. You must know the name of the modules that are to be configured as global modules. Refer to Section 7.4.1, “Included Modules” for the list of static modules included with JBoss EAP 6. If the module is in another deployment, refer to Section 7.4.2, “Dynamic Module Naming” to determine the module name.

Procedure 7.1. Add a module to the list of global modules

  1. Navigate to the EE Subsystem panel.
      • Standalone Mode

        Select the Profile tab from the top of the console.
      • Domain Mode

        1. Select the Profiles tab from the top of the console.
        2. Select the appropriate profile from the drop-down box in the top left.
        3. Expand the Subsystems menu on the left of the console.
    1. Select ContainerEE from the menu on the left of the console.
  2. Click the Add button in the Subsystem Defaults section. The Create Module dialog appears.
  3. Type in the name of the module and optionally the module slot.
  4. Click the Save button to add the new global module, or click the Cancel link to abort.
    • If you click the Save button, the dialog will close and the specified module will be added to the list of global modules.
    • If you click Cancel, the dialog will close and no changes will be made.
Result

The modules added to the list of global modules will be added as dependencies to every deployment.