Okay, thanks for the confirmation.  Is there a bugzilla system to track this?


On 11/1/05, Trustin Lee <trustin@gmail.com> wrote:
Hi Lyndon,

2005/11/2, Lyndon Washington <lyndon.washington@gmail.com >:
Hi Alex,

Thanks for the prompt reply.

I have already tried that, and it fails to pass in my configuration object because as I stated earlier, the "DefaultContextPartitionNexus.addContextPartition() creates a new MutableContextPartitionConfiguration" rather than using the configuration that was instantiated based on the properties file.

I have also tried altering one of the JUnit test cases and adding the configuration to a Hashtable and passing that to a JNDI context intitialization . . . no joy there either.

Here is the offending code, IMHO, which shows that the config that is passed in is not the one that is ultimately passed to 'partition.init()':

Yes, you're right.  ApacheDS internally copies it to MutableContextPartitionConfiguration before calling init().  For now you'll have to provide a getter/setter to your DirectoryPartition implementation.

what we call human nature is actually human habit

Lyndon Washington
Snr. Software Engineer
lwashington@novell.com (Shelton - CT)
1.781.464.8735 (Waltham - MA)

Novell, Inc.
Software for the Open Enterprise