ApacheDS initializes system context partition at its first run.  It adds entries such as admin user which contains admin password.  ApacheDS has to run as an admin at the first time to create an appropriate administrator information.

We can fix this issue by using default admin password.  WDYT?

2005/9/22, Jérôme Baumgarten <[EMAIL PROTECTED]>:
Hi,

I just compiled ApacheDS (from SVN) and still get the behaviour
described by Stefan except that the server immediately stops and it
always behaves that way, no way to get it up and running.

Regards,
Jérôme

On 9/22/05, Trustin Lee <[EMAIL PROTECTED]> wrote:
> Hi Stefan,
>
> Sorry for the late reply first of all.  I hope you understand me. ;)
>
> 2005/8/29, Stefan Zoerner <[EMAIL PROTECTED]>:
> > If I use a current apacheds-main-0.9.2-SNAPSHOT.jar and
> execute a simple
> >
> > java -jar apacheds-main-0.9.2-SNAPSHOT.jar
> >
> > in a fresh directory, I get the following exception on the cmdline:
> >
> > Exception in thread "main"
> javax.naming.NoPermissionException : Only
> > 'uid=admin,ou=system' can initiate the first run.
> >          at
> >
> org.apache.ldap.server.jndi.DefaultContextFactoryService.checkPermissionToCreateBootstrapEntries(DefaultContextFactoryService.java
> :578)
> > ---
> >
> > After this message, the server starts and after some time clients are
> > able to connect. If I stop the server and restart it the same way (it is
> > not the first run, partition is available on disk), the error does not
> > occur.
>
> I fixed this issue just before. :)
>
> Trustin--
> what we call human nature is actually human habit
> --
> http://gleamynode.net/



--
what we call human nature is actually human habit
--
http://gleamynode.net/

Reply via email to