From users-return-1379-apmail-directory-users-archive=directory.apache.org@directory.apache.org Wed May 07 09:40:24 2008 Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 57679 invoked from network); 7 May 2008 09:40:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2008 09:40:24 -0000 Received: (qmail 76903 invoked by uid 500); 7 May 2008 09:40:25 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 76875 invoked by uid 500); 7 May 2008 09:40:25 -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 55335 invoked by uid 99); 7 May 2008 09:31:25 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Message-Id: From: joachim To: users@directory.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Adding indices on 1.5.2 Date: Wed, 7 May 2008 11:30:48 +0200 X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org I tried to add an index on a partition called community on a new attribute using this command java -jar apacheds-tools.jar index -i /usr/local/apacheds-1.5.2/ -p community -a epdstatus Result: _ _ ____ ____ _____ _ / \ _ __ __ _ ___| |__ ___| _ \/ ___| |_ _|__ ___ | |___ / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \ | |/ _ \ / _ \| / __| / ___ \| |_) | (_| | (__| | | | __/ |_| |___) | | | (_) | (_) | \__ \ /_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/ |_|\___/ \___/| _|___/ |_| loading settings from: /usr/local/apacheds-1.5.2/conf/server.xml log4j:WARN No appenders could be found for logger (org.apache.xbean.spring.context.FileSystemXmlApplicationContext). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" org.apache.directory.shared.ldap.exception.LdapConfigurationException: The following schema directory from the installation layout could not be found: /usr/local/apacheds-1.5.2/var/partitions/schema at org .apache .directory.server.tools.IndexCommand.loadRegistries(IndexCommand.java: 131) at org .apache.directory.server.tools.IndexCommand.execute(IndexCommand.java: 184) at org .apache.directory.server.tools.ApachedsTools.main(ApachedsTools.java: 116) 1. Why does it need conf/server.xml? I asumed /instances/community/ conf/server.xml should be the one? 2. I have not changed any installation layout, /var/partitions is empty 3. Documentation is not updated yet, but is there a way to add indices on 1.5.2? thx, Joachim