Apache Directory Project - [jira] Commented: (DIRSERVER-1010) Should the order in which hot

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > July 2007 > [jira] Commented: (DIRSERVER-1010) Should the order in which hot





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (DIRSERVER-1010) Should the order in which hot
Ole Ersoy (JIRA)

2007-07-27, 1:11 am


[ https://issues.apache.org/jira/brow...action_12515919 ]

Ole Ersoy commented on DIRSERVER-1010:
--------------------------------------

Checkout:
svn co https://svn.apache.org/repos/asf/di...sting.archetype

cd apacheds.testing.archetype

mvn clean install

Run:
mvn archetype:create -DarchetypeGroupId=org.apache.directory -DarchetypeArtifactId=apacheds.testing.archetype -DarchetypeVersion=1.0.0 -DgroupId="" -DartifactId=archetype.instance.testing

The ADSEmbeddedHotPartitionTemplate will be in the project created by the testing archetype

Standard maven layout

> Should the order in which hot partitions are connected to matter?
> -----------------------------------------------------------------
>
> Key: DIRSERVER-1010
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1010
> Project: Directory ApacheDS
> Issue Type: Bug
> Reporter: Ole Ersoy
>
> If I connect in this order:
> dasContext =
> adsEmbeddedConnection.
> connect(
> configuration.getDasPartitionName() );
> schemaContext =
> adsEmbeddedConnection.
> connect(
> configuration.getSchemaPartitionName() );
> I don't get any exceptions.
> If I flip the two, I get this exception:
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: ou=das
> at org.apache.directory.server.core.partition.DefaultPartitionNexus.getBackend(DefaultPartitionNexus.java:1064)
> at org.apache.directory.server.core.partition.DefaultPartitionNexus.hasEntry(DefaultPartitionNexus.java:988)
> at org.apache.directory.server.core.interceptor.InterceptorChain$1.hasEntry(InterceptorChain.java:147)
> at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.hasEntry(InterceptorChain.java:1246)
> at org.apache.directory.server.core.interceptor.BaseInterceptor.hasEntry(BaseInterceptor.java:130)
> at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.hasEntry(InterceptorChain.java:1246)
> at org.apache.directory.server.core.interceptor.BaseInterceptor.hasEntry(BaseInterceptor.java:130)
> .....
> I'll check in the working DAS in a few days and in the package:
> package org.apache.tuscany.das.ldap.emf.test;
> There is a test called LdapDASHelperTest that can be run to see this.


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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com