WAS v8.5 > Reference > Custom properties

Portlet 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:

  1. In the dmgr console click Servers > Server Types > WebSphere application servers > server_name > Portlet Container Settings > Portlet container.

  2. Under Additional Properties select Custom Properties.

  3. On the Custom Properties page, click New.

  4. 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.

  5. Click Apply or OK.

  6. Click Save on the console task bar to save your configuration changes.

  7. 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 MBean
where <..> is replaced by the corresponding application data. For example, SampleApplication#SamplePortlet.war_portlet.SamplePortlet.


Related


Tasks: Managing portlets


Reference:

Portlet and PortletApplication MBeans


+

Search Tips   |   Advanced Search