[EMAIL PROTECTED] 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

Reply via email to