Disabling the automatic adding of missing required modules

By default, required modules that are missing in a profile are added automatically. If you do not want to automatically add required modules, you can disable this feature.

Procedure

  1. Open the WebSphere® Integrated Solutions Console.
  2. Select Resources > Resource Environment > Resource Environment Providers.
  3. Select the WP ConfigService resource environment provider.
  4. Click custom properties.
  5. Change the entry resourceaggregation.prereq.autocomplete to false.
  6. Save the changes.
  7. Restart the portal server.

Results

If autocompletion is disabled, an error is written to the portal log file so that a profile does not list all modules and required modules.

The following example shows a log file entry:
com.ibm.wps.resourceaggregator.contribution.ContributionRegistryImpl getContributions(contributionExtensionPointID, 
moduleIDs, themeID, context)
WARNING: EJPNK0006E: The list of theme modules [[testModule11 , 1.0 ], [testModule12 , 1.0 ], [testModule13 , 1.0 ]] 
misses required prerequisite module [testModule15 , 1.0 ]. 

In addition, if a required module is not added to the portal at run time, errors can result in during the rendering of the theme.