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

dugan
18.45.2006 66103231d0ab2e0f170cf3848f61da1f6702564c
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/RootContainer.java
@@ -239,6 +239,12 @@
  public EntryContainer openEntryContainer(DN baseDN) throws DatabaseException
  {
    EntryContainer ec = new EntryContainer(baseDN, backend, config, env);
    EntryContainer ec1=this.entryContainers.get(baseDN);
    //If an entry container for this baseDN is already open we don't allow
    //another to be opened.
      if (ec1 != null)
          throw new DatabaseException("Entry container for baseDN " +
                  baseDN.toString() + " already is open.");
    if(env.getConfig().getReadOnly())
    {
      ec.openReadOnly();