mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

ludovicp
03.04.2010 8c800dbbb7ca355ced2df288dd68dd162ef78d53
Fix issue 4575. dsreplication was failing with Sun JVM 1.6.0_21. In fact, the updated JVM is stricter in JNDI's LDAP filter parsing.
1 files modified
9 ■■■■■ changed files
opends/src/ads/org/opends/admin/ads/ServerDescriptor.java 9 ●●●●● patch | view | raw | blame | history
opends/src/ads/org/opends/admin/ads/ServerDescriptor.java
@@ -55,10 +55,11 @@
 */
public class ServerDescriptor
{
  private Map<ADSContext.ServerProperty, Object> adsProperties =
  private final Map<ADSContext.ServerProperty, Object> adsProperties =
    new HashMap<ADSContext.ServerProperty, Object>();
  private Set<ReplicaDescriptor> replicas = new HashSet<ReplicaDescriptor>();
  private Map<ServerProperty, Object> serverProperties =
  private final Set<ReplicaDescriptor> replicas =
    new HashSet<ReplicaDescriptor>();
  private final Map<ServerProperty, Object> serverProperties =
    new HashMap<ServerProperty, Object>();
  private TopologyCacheException lastException;
@@ -1330,7 +1331,7 @@
        new String[] {
            "ds-sync-generation-id"
        });
    String filter = "|(objectclass=*)(objectclass=ldapsubentry)";
    String filter = "(|(objectclass=*)(objectclass=ldapsubentry))";
    LdapName jndiName = new LdapName("cn=schema");
    NamingEnumeration<SearchResult> listeners =