directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Ersoy (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-982) Installed server not aware of Hot Partition entries
Date Sun, 01 Jul 2007 15:22:04 GMT


Ole Ersoy commented on DIRSERVER-982:

OK - I closed the duplicates.  There's is also an issue with reusing the env Hashtable.  In
the JNDIHotPartitionConnectionTemplate I create a new Hashtable and add the entries each time,
circumventing the issue.  Ideally, when creating a new connection, I would just update the
entries on a static instance of the environment.  There was also a sequencing issue, where
if I connected to "ou=system" first and then tried to connect to "ou=das" after, an exception
would be thrown, but the other way around would work.  I think that may be related to the
ConnectionManager I was using before, reusing the env table.

> Installed server not aware of Hot Partition entries 
> ----------------------------------------------------
>                 Key: DIRSERVER-982
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Ole Ersoy
> When connecting to a running instance of the server (Not embedded) and creating a hot
partition, the hot partition data is stored in the directory where the JNDI client is running
from.  However, the running server is aware that the hot partition got created, because the
partition can be connected to.  However, it does not see the entries created under the hot
> To see this behavior, first do this (The testing archetype is updated with the tests):
> svn co
> cd apacheds.testing.archetype
> mvn clean install
> cd ..
> mvn archetype:create  -DarchetypeArtifactId=apacheds.testing.archetype
-DarchetypeVersion=1.0.0  -DgroupId="" -DartifactId=archetype.instance.testing 
> cd archetype.instance.testing 
> mvn eclipse:eclipse
> Import and run
> The server-work directory is created in the root testing project directory and it will
contain a "test" partition.  The server now allows connections to this partition using the
Sun Context Factory.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message