directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: Starting Embedded ApacheDS - Fails to Extract Schema?
Date Wed, 07 Apr 2010 06:26:27 GMT
Andrew Wiley wrote:
> Actually, it turns out that if I change the method definition to this:
>         JdbmPartition partition = new JdbmPartition();
>         partition.setId( partitionId );
>         partition.setSuffix( partitionDn );
>         partition.setSchemaManager(service.getSchemaManager());
>         partition.setPartitionDir(new
> File(service.getWorkingDirectory().getAbsolutePath() + File.pathSeparator +
> partitionId));
>         partition.initialize();
>         service.addPartition( partition );
> 
> Everything works. Is this how I should be determining the PartitionDir?

Yes, that looks good.

I think it is not necessary to explicitely call partition.initialize()
but I may be wrong.

> Also, should I be worried about the few hundred log lines of the form:
> 6118 [main] INFO org.apache.directory.server.core.entry.ServerStringValue  -
> Cannot normalize the value :ERR_04226 I do not know how to handle
> NameAndOptionalUID normalization with objects of class: [Class Name]

No, don't worry. You can set the log level to warn or error in your
log4j.properties. The *Value classes are work in progress, btw.

Kind Regards,
Stefan



Mime
View raw message