Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 80427 invoked from network); 26 Nov 2008 12:41:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2008 12:41:16 -0000 Received: (qmail 91254 invoked by uid 500); 26 Nov 2008 12:41:27 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 91220 invoked by uid 500); 26 Nov 2008 12:41:27 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Delivered-To: moderator for users@directory.apache.org Received: (qmail 69144 invoked by uid 99); 26 Nov 2008 12:22:24 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Ben_Black@amway.com designates 167.23.225.33 as permitted sender) To: users@directory.apache.org Subject: Problems Indexing MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: Ben_Black@amway.com Date: Wed, 26 Nov 2008 22:21:34 +1000 X-MIMETrack: Serialize by Router on LNOT08/ANet(Release 6.5.4 HF839|January 17, 2006) at 11/26/2008 07:21:41 AM Content-Type: multipart/mixed; boundary="=_mixed 0043E460CA25750D_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_mixed 0043E460CA25750D_= Content-Type: multipart/alternative; boundary="=_alternative 0043E461CA25750D_=" --=_alternative 0043E461CA25750D_= Content-Type: text/plain; charset="US-ASCII" Hi, I seem to be having problems with the performance of my LDAP repository. This is my first play with LDAP, so please excuse my complete "novicedom". I'm hoping either you can help me or point me out the way to find help... I don't seem to be getting the information I need on the apacheDS site (or google for that matter).... I am running ApacheDS 1.5.0. I have created a schema/heirarchy using the attached LDIF files. I have an application which is inserting the "PAMUser" class, and this works successfully many times. However after adding just a few thousand entries the performance slows down to being unusable. I need to be able to add the order of hundreds of thousands of entries. Obvious solution (to me anyway) is to add an index. I have attempted to add an index in my server.xml by doing the following: But this stops the server from starting up. I check the log file and I get this error: [05:54:11] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on null.init(InstallationLayout, String[]) java.lang.NullPointerException at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1350) at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:840) at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:126) at org.apache.directory.server.Service.init(Service.java:86) at org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151) at org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:51) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) I've tried various different interpretations on the index definition (using the attribute oid instead of name, etc) but it all seems to give me a similar error. Have you any ideas to help me out please? Thanks, Ben --=_alternative 0043E461CA25750D_= Content-Type: text/html; charset="US-ASCII"
Hi,

I seem to be having problems with the performance of my LDAP repository. This is my first play with LDAP, so please excuse my complete "novicedom". I'm hoping either you can help me or point me out the way to find help... I don't seem to be getting the information I need on the apacheDS site (or google for that matter)....



I am running ApacheDS 1.5.0. I have created a schema/heirarchy using the attached LDIF files. I have an application which is inserting the "PAMUser" class, and this works successfully many times. However after adding just a few thousand entries the performance slows down to being unusable. I need to be able to add the order of hundreds of thousands of entries.

Obvious solution (to me anyway) is to add an index. I have attempted to add an index in my server.xml by doing the following:

<jdbmPartition id="amway" cacheSize="100" suffix="o=amway" optimizerEnabled="true" syncOnWrite="true">
        <indexedAttributes>
          <jdbmIndex attributeId="dc" cacheSize="100"/>
          <jdbmIndex attributeId="ou" cacheSize="100"/>
          <jdbmIndex attributeId="o" cacheSize="100"/>
          <jdbmIndex attributeId="objectclass" cacheSize="100"/>
          <jdbmIndex attributeId="uid" cacheSize="100"/>
        <!-- my new index -->
          <jdbmIndex attributeId="Username" cacheSize="100"/>
        </indexedAttributes>
</jdbmPartition>

But this stops the server from starting up. I check the log file and I get this error:

[05:54:11] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on null.init(InstallationLayout, String[])
java.lang.NullPointerException
        at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1350)
        at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:840)
        at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:126)
        at org.apache.directory.server.Service.init(Service.java:86)
        at org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
        at org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:51)
        at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)


I've tried various different interpretations on the index definition (using the attribute oid instead of name, etc) but it all seems to give me a similar error.

Have you any ideas to help me out please?

Thanks,

Ben --=_alternative 0043E461CA25750D_=-- --=_mixed 0043E460CA25750D_=--