D.5 javax.naming.SizeLimitExceededException

If you encounter a javax.naming.SizeLimitExceededException when you use the Administration > Page Admin > Set As Default, you might have encountered a maximum size limit. You can modify this limit in the PortalGroupPageDefaults portlet settings in the portlet.xml as follows:

<portlet>
    <portlet-name>PortalGroupPageDefaults</portlet-name>
   <portlet-class>
com.novell.afw.portal.portlet.core.permission.PortalGroupPageDefaults
</portlet-class>
    <init-param>
      <name>MIN_CACHE_SIZE</name>
      <value>20</value>
    </init-param>
    <init-param>
      <name>MAX_CACHE_SIZE</name>
      <value>200</value>
    </init-param>
    <init-param>
      <name>PAC_MAX_RESULTS</name>
      <value>2000</value>
    </init-param>
    ...
</portlet>

If you have more than 200 groups and want to assign groups to the View permissions for the Page Admin tab, you also need to update the settings for the PortalUserGroupSelection portlet. Modify this limit in the portlet.xml as follows:

<portlet>
    <portlet-name>PortalUserGroupSelection</portlet-name>
   <portlet-class>
com.novell.afw.portal.portlet.core.permission.PortalUserGroupSelection
</portlet-class>
    <init-param>
      <name>MIN_CACHE_SIZE</name>
      <value>20</value>
    </init-param>
    <init-param>
      <name>MAX_CACHE_SIZE</name>
      <value>200</value>
    </init-param>
    <init-param>
      <name>PAC_MAX_RESULTS</name>
      <value>2000</value>
    </init-param>
    ...
</portlet>

Redeploy the identity applications after you make your changes.