directory-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/DIRSERVER-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509417
] 

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: https://issues.apache.org/jira/browse/DIRSERVER-982
>             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
partition. 
> To see this behavior, first do this (The testing archetype is updated with the tests):
> svn co https://svn.apache.org/repos/asf/directory/sandbox/oersoy/apacheds.testing.archetype
> cd apacheds.testing.archetype
> mvn clean install
> cd ..
> mvn archetype:create -DarchetypeGroupId=org.apache.directory  -DarchetypeArtifactId=apacheds.testing.archetype
-DarchetypeVersion=1.0.0  -DgroupId="" -DartifactId=archetype.instance.testing 
> cd archetype.instance.testing 
> mvn eclipse:eclipse
> Import and run JNDIHotPartitionConnectionTemplateTest.java
> 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.


Mime
View raw message