directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spark Shen" <smallsmallor...@gmail.com>
Subject Re: [ApacheDS] [Partition] Adding your own partition resp. suffix
Date Wed, 21 Nov 2007 07:57:34 GMT
Thanks, seems my carelessness caused the problem.

2007/11/21, Stefan Zoerner <stefan@labeo.de>:
>
> Spark Shen wrote:
> >
> > I followed steps in:
> >
> http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html#1.4.4Addingyourownpartitionresp.suffix-Definingapartition
> > <
> http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html#1.4.4Addingyourownpartitionresp.suffix-Definingapartition
> >
> > and added a partition definition:
> >
> >   <bean id="sevenSeasPartitionConfiguration"
> > class="
> org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration
> ">
> >     <property name="id" value="The seven seas" />
> >     <property name="cacheSize" value="100" />
> >     <property name="suffix" value="o=sevenSeas" />
> >     <property name="partitionClassName"
> >
> > value="
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition"
> > />
> >
> >     <property name="contextEntry">
> >       <value>
> >         objectClass: top
> >         objectClass: domain
> >         objectClass: extensibleObject
> >         dc: example
> >       </value>
> >     </property>
> >   </bean>
>
> Check Ersin's hint, and besides that: the value of the contextEntry
> property does not fit with your partition. Try something like this
>
> <property name="contextEntry">
>   <value>
>       objectClass: top
>       objectClass: organization
>       objectClass: extensibleObject
>       o: sevenSeas
>   </value>
> </property>
>
> Greetings from Hamburg,
>     Stefan
>
>


-- 
Spark Shen
China Software Development Lab, IBM

Mime
View raw message