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