You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Nedumpillil, Vicas" <vn...@Viewlocity.com> on 2005/08/11 20:58:17 UTC
apache error
The following used to work in apache-ds 0.9
In 0.9.2 EnvKeys seems to be eliminated.
import org.apache.ldap.server.jndi.EnvKeys;
Hashtable env = new Hashtable();
env.put(EnvKeys.WKDIR, ldapWorkDir);
env.put(EnvKeys.WKDIR, "c:\ldapWorkDir");
env.put(EnvKeys.LDAP_PORT, String.valueOf(port));
Anybody has the new startup scripts ?
thx
Re: apache error
Posted by Alex Karasulu <ao...@bellsouth.net>.
Nedumpillil, Vicas wrote:
>The following used to work in apache-ds 0.9
>In 0.9.2 EnvKeys seems to be eliminated.
>
>
>
That is correct we use configuration beans to configure the server
programatically now. Take a look at StartupConfiguration.
> import org.apache.ldap.server.jndi.EnvKeys;
> Hashtable env = new Hashtable();
> env.put(EnvKeys.WKDIR, ldapWorkDir);
> env.put(EnvKeys.WKDIR, "c:\ldapWorkDir");
> env.put(EnvKeys.LDAP_PORT, String.valueOf(port));
>
>
>
We are using a temporary XML based file format for now until we start
storing configuration settings within the server itself under the
ou=system naming context. Take a look at the server.xml file within
main subproject of apacheds.
Alex