Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.5.0
-
None
-
None
Description
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.