You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Si...@saaconsultants.com on 2005/05/18 17:11:16 UTC

Missing ServerContextFactory?




apacheds-core-0.9.jar does not contain the class:
org.apache.ldap.server.jndi.ServerContextFactory

Yet it does exists in apacheds-main-0.9.jar.

I'm trying to run with apacheds-core-0.9.jar (and a set of dependent JARs)
but can only find ServerContextFactory in apacheds-main-0.9.jar.  Can
anyone explain why?

TIA


Simon Temple



Re: Missing ServerContextFactory?

Posted by Alex Karasulu <ao...@bellsouth.net>.
Simon.Temple@saaconsultants.com wrote:

>apacheds-core-0.9.jar does not contain the class:
>org.apache.ldap.server.jndi.ServerContextFactory
>  
>
Yah we switched to using the CoreContextFactory in the core and moved 
the ServerContextFactory over to main since it had deps on things like 
protocol providers in MINA (LDAP and Kerberos to name a couple).  The 
main project is just a crusty quick stab at a standalone app of the 
server.   When embedding from now on we want to use CoreContextFactory 
so you did the right thing switching to the core.  Now just use CCF as 
the initial context factory and the CCEx should go away.

>Yet it does exists in apacheds-main-0.9.jar.
>
>I'm trying to run with apacheds-core-0.9.jar (and a set of dependent JARs)
>but can only find ServerContextFactory in apacheds-main-0.9.jar.  Can
>anyone explain why?
>  
>
Once again SCF starts up a MINA registry and starts the LDAP and 
Kerberos protocol providers.  This is not conducive to a container based 
environment where MINA may already be up.  We wanted to separate the 
startup of the core from these other aspects while minimizing the deps.

Hence from now on use CCF as the ICF rather than SCF.

Sorry for the confusion ... these changes are new in 0.9.

Regards,
Alex