Cheong Chung Onn wrote:
Hi Emmanuel,

My apologies for not providing more info. I received a LdapNameNotFoundException, this exception is triggered when i add an OperationContext to the partition nexus using - directoryService.getPartitionNexus().add(new AddOperationContext(directoryService.getAdminSession(), entry));
You should call the directoryService.getPartitionNexus().addPartitionContex() method instead of the add() method. Partitions are very different objects than entries : they have an associated entry, but when you create a new partition, there is much more to do (like udpdate the partition table, etc).

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to