Configure portal light mode
To benefit from a higher performance improvement, you can adapt the default list of lazy applications to needs.
Before you configure the list of lazy applications, you can ...
To configure the list of lazy applications with additional applications...
- To view the applications that are deployed in the portal and determine which of these you want to configure as lazy applications:
- Log on to the WAS administrative console.
- Select Applications -> Application Types -> WebSphere Enterprise Applications.
- Write down the names of the applications that you want to add to the list of lazy applications. Add only applications to the list that are not used by usual scenarios and that are not required for portal start up.
- Stop the portal server.
- Make sure that portal light mode is disabled.
To disable portal light mode,
cd WP_PROFILE/ConfigEngine
and run the configuration task
ConfigEngine.sh disable-portal-light-startup-performance -DWasPassword=foo
- Change to the directory WP_PROFILE/PortalServer/config/StartupPerformance .
- Modify the file wp.base_TargetMapInclList.properties.
This file contains the list of applications that are not loaded when the server is started.
where App_name is the name of the application. Make sure that list of lazy applications does not contain applications that are either required for portal startup or frequently used. Do not add portlet applications to the list that hold portal services or a plug-in for an Eclipse extension point.
- To add an application to this list, type the required application names from the WebSphere Enterprise Applications list.
- To remove an application, comment out the appropriate application name or delete it from the list.
- Save changes.
- Enable portal light mode.
To do this,
cd WP_PROFILE/ConfigEngine
and run the configuration task
ConfigEngine.sh enable-portal-light-startup-performance -DWasPassword=foo
- Restart the portal server.
- After this adaptation verify that scenarios are still running.
Limitations:
- If you have portal light mode enabled and you stop an application manually, for example by using the administrative console or the wsadmin command line interface, and a user then accesses that application, that applications is restarted.
- If you have portal light mode enabled and you use the activation task ConfigEngine.sh activate-portlets to activate all portlets, all portlets are indeed started, even if they are set for lazy load.
Parent
Use portal light mode