directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Rodriguez (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Created: (DIREVE-244) Static ContextFactoryService call causing tight coupling of LDAP wire protocol to ApacheDS core
Date Wed, 07 Sep 2005 14:15:31 GMT
Static ContextFactoryService call causing tight coupling of LDAP wire protocol to ApacheDS
core
-----------------------------------------------------------------------------------------------

         Key: DIREVE-244
         URL: http://issues.apache.org/jira/browse/DIREVE-244
     Project: Directory Server
        Type: Improvement
    Reporter: Enrique Rodriguez
 Assigned to: Alex Karasulu 


ModifyHandler.java:101 makes a static call using ContextFactoryService.  This call traverses
the o.a.ldap.server.jndi and o.a.ldap.server.schema packages, which causes tight coupling
of the LDAP wire protocol to the apacheds core.  This makes it difficult to de-couple the
LDAP protocol provider from the backing store.  This issue arises with the OSGi container,
resulting in a NoClassDefFoundError unless I start opening packages between apacheds-core
and ldap-protocol:

- java.lang.NoClassDefFoundError: org/apache/ldap/server/jndi/ContextFactoryService
        at org.apache.ldap.server.protocol.ModifyHandler.messageReceived(ModifyHandler.java:101)
        at org.apache.mina.protocol.handler.DemuxingProtocolHandler.messageReceived(DemuxingProtocolHandler.java:70)

The code at this point contains the TODO to "figure out how to best integrate this code into
the schema interceptor."


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message