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
- Open the WebSphere® Integrated Solutions Console.
- Select .
- Select the WP ConfigService resource environment provider.
- Click custom properties.
- Change the entry resourceaggregation.prereq.autocomplete to false.
- Save the changes.
- 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.