WAS v8.5 > Reference > Custom propertiesPortlet container custom properties
We can configure name-value pairs of data, where the name is a property key and the value is a string value used to set internal system configuration properties. Defining a new property enables you to configure a setting beyond that which is available in the dmgr console. The following is a list of the available Portlet container custom properties.
To specify Portlet container custom properties:
- In the dmgr console click Servers > Server Types > WebSphere application servers > server_name > Portlet Container Settings > Portlet container.
- Under Additional Properties select Custom Properties.
- On the Custom Properties page, click New.
- On the settings page, enter the name of the custom property to configure in the Name field and the value to set it to in the Value field.
- Click Apply or OK.
- Click Save on the console task bar to save your configuration changes.
- Restart the server.
We can use the custom properties page to define the following portlet container custom properties:
useShortMBeanNames
Portlet MBeans are registered by both their short name and full name. To enable the use of short MBean names for Portlet and PortletApplication MBeans, create the following name-value pair:
Name Value useShortMBeanNames true The default is false.
MBeans registered by the full identifiable name, have the following format:
<ApplicationName>#<WARfilename.war>_portlet.<portlet_name> for the Portlet MBean <ApplicationName>#<WARfilename.war>_portlet for the PortletApplication MBeanwhere <..> is replaced by the corresponding application data. For example, SampleApplication#SamplePortlet.war_portlet.SamplePortlet.
Related
Tasks: Managing portlets
Reference:
Portlet and PortletApplication MBeans