[jira] Commented: (DIRSERVER-1010) Should the order in which hot
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Commented: (DIRSERVER-1010) Should the order in which hot




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (DIRSERVER-1010) Should the order in which hot  
Emmanuel Lecharny (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-07 12:11 PM


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

Emmanuel Lecharny commented on DIRSERVER-1010:
----------------------------------------------

Actually, as you can see in the stack trace, if you invert the order, there 
is a search done in the partition table, and if the partition does not exist
, you get an error. So, basically, yes, order matters.

> 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=d
as
> 	at org.apache.directory.server.core.partition.DefaultPartitionNexus.getBa
ckend(DefaultPartitionNexus.java:1064)
> 	at org.apache.directory.server.core.partition.DefaultPartitionNexus.hasEn
try(DefaultPartitionNexus.java:988)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$1.hasEnt
ry(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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:56 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register