The OpenSSO Enterprise Event Service (amEventService) creates and manages the persistent search connections. Since persistent searches are disabled by default, use the following methods to enable them
aci - To receive changes to the aci attribute, with the persistent search using the LDAP filter (aci=*).
sm - To receive changes in the OpenSSO Enterprise configuration data store (service management node), which includes objects with the sunService or sunServiceComponent marker object class. For example, creation of a new policy to define access privileges for a protected resource or changes to the rules, subjects, conditions, or response providers for an existing policy.
um - To receive changes in the user data store (user management node). For example, changes to a user's name or address.
The Directory Server nsslapd-maxpsearch attribute defines the maximum number of persistent searches that can be performed on Directory Server. For example:
Property Value Entry DN: cn=config Valid Range: 1 to maximum threadnumber Default Value: 30 Syntax: Integer Example: nsslapd-maxpsearch: 30
The Directory Server nsIdletimeout attribute does not apply to these connections. A connection is closed when the Directory Server or OpenSSO Enterprise server goes down or after a load balancer or firewall TCP timeout.
Log in to the Admin Console as amadmin.
Click Configuration, Servers and Sites, server-name, SDK, and then Event Service.
In the Disable Event Service Connection field, specify only the searches you want to disable, including aci, sm, or um (or a combination, with each item separated by a comma).
That is, to enable a persistent search, make sure that aci, sm, or um is not present in this files.
Click Save and log out of the Console.
Restart the OpenSSO Enterprise web container.
You can also enable persistent searches by setting the com.sun.am.event.connection.disable.list property, using the ssoadm command.
To enable a specific persistent searches, make sure the respective persistent search value (aci, sm, or um) is not is not included in the property.
Values are case insensitive. To specify multiple values, separate each value with a comma.
For example, to enable persistent searches for ACI changes only:
After you set the property, restart the OpenSSO Enterprise web container for the new values to take effect.