Administer portlet preferences for Portlet load monitoring
We can set portlet preferences to influence in which cases Portlet load monitoring blocks or reenables JSR portlets.
- Maximum number of concurrent requests
- Reactivation limit of concurrent requests for reactivating the portlet
- Allowed average response time. We can configure the sample number of requests by which this average response time for portlets is calculated.
- Log in to the portal using a portal administrator user ID and go to...
Administration | Portlet Management | Portlets
The Manage Portlets portlet is displayed. It lists the portlets in the portal.
- Search for the portlet for which we want to set portlet preferences.
- Select the Configure Portlet icon.
- Add a new portlet preference as required and type number for the new portlet preference as required:
- To set the maximum number of requests to allow for this portlet, for the new portlet preference, add...
com.ibm.wps.pe.plm.maxrequest = xyz
For example, to allow this portlet no more than 15 concurring requests, specify...com.ibm.wps.pe.plm.maxrequest = 15
- To set the reactivation limit for this portlet, for the new portlet preference, add...
add com.ibm.wps.pe.plm.minrequest = xyz
For example, to have this portlet to be reenabled when its concurrent requests fall back to 5 or less, specify...com.ibm.wps.pe.plm.minrequest = 5
- To set the allowed average response time for this portlet, add...
com.ibm.wps.pe.plm.average.time.processing = xyz
...where xyz is the average response time in milliseconds. For example, if specified...
com.ibm.wps.pe.plm.average.time.processing = 3000
...and the average response time for this portlet exceeds 3 seconds, then Portlet load monitoring blocks further requests to this portlet.
- Click the Add button to add the preference.
- Save the changes by clicking the OK button.
What to do next
As an alternative, we can define a portlet preference before deploying the portlet. In this case add the portlet preference to the portlet.xml deployment descriptor of the WAR file.