By default, the WSRP Producer provides all JSR 168 and JSR 286 portlets that are running locally on the application server except for portlets that are explicitly excluded. In a Deployment Manager (DM) setup, the WSRP Producer can be deployed to multiple application servers. In this case, each instance of the WSRP Producer that is deployed on an application server provides the portlets that are running locally on that application server.
To exclude portlets from being provided, you filter the portlets that the Producer provides to Consumers. You do so by excluding portlets from the list of provided portlets as required. For example, WebSphere
Application Server Full Profile has a number of administrative portlet applications deployed. Normally, these portlet applications and portlets must not be provided by the WSRP Producer to WSRP Consumers. You can specify the portlet applications that you do not want to provide by using an exclude list. The exclude list contains regular expressions that match portlet application names. Portlets that are contained in matching portlet applications are not provided. They are excluded from the portlet pool that is provided to Consumers. By default, the list excludes the WebSphere
Integrated Solutions Console application, the user management applications, and all WebSphere product applications.
To modify the exclude list, proceed as follows:
- Edit the WSRP Producer web module environment entry with the name wsrp.applications.excludelist.
For more information, read Modifying environment entries for the WSRP Producer web module.
- Add portlet applications that you do not want to provide.
- Remove portlet applications that you want to provide.
The filtering is based on the application ID in the file portlet.xml
Parent topic: Working with the WSRP Producer
Modifying environment entries for the WSRP Producer web module