Another evidence: The UberjarMainTest also fails sporadically, e.g. here on Jenkins, unfortunately the exception is swallowed...
https://builds.apache.org/view/A-D/view/Directory/job/dir-apacheds-ubuntu-deploy/1680/org.apache.directory.server$apacheds-service/testReport/org.apache.directory.server/UberJarMainTest/serviceInstanceTest/ On 04/21/2015 10:21 PM, Stefan Seelmann wrote: > On 04/21/2015 06:43 PM, Emmanuel Lécharny wrote: >> Hi guys, >> >> I have built the installers for all the platforms, but I was only able >> to test the bin installer on a Linux VM. >> >> For some weird reason, I can't get it installed on my mac (most >> certainly an issue with my system setting). >> >> I would need some of you guys to test the various installers which are >> available on my page : >> >> http://people.apache.org/~elecharny/apacheds-2.0.0-M20-SNAPSHOT/ >> >> Thanks ! >> > > I started to test the dpkg installer in Debain8/Java8. > > There is something weird. The server starts up. When I try to bind with > uid=admin,ou=system I get error > > INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user > uid=admin,ou=system > > Then I restart the server. And suddenly bind works. > > Then I restart the server again and I can't connect, just get above > error message. > > The whole procedure is not deterministic. > > I saw this problem before within Studio, when starting a server > sometimes I was not able to connect. > > When increasing the loglevel I see this output: > > [20:18:24] INFO > [org.apache.directory.server.core.authn.AuthenticationInterceptor] - > Unexpected failure for Authenticator > org.apache.directory.server.core.authn.DelegatingAuthenticator@63065c83 > : BindContext for Dn 'uid=admin,ou=system', credentials <0x73 0x65 0x63 > 0x72 0x65 0x74 > > [20:18:24] INFO > [org.apache.directory.server.core.authn.AuthenticationInterceptor] - > Unexpected failure for Authenticator > org.apache.directory.server.core.authn.SimpleAuthenticator@5274ff4b : > BindContext for Dn 'uid=admin,ou=system', credentials <0x73 0x65 0x63 > 0x72 0x65 0x74 > > [20:18:24] INFO > [org.apache.directory.server.core.authn.AuthenticationInterceptor] - > Cannot bind to the server > [20:18:24] INFO > [org.apache.directory.server.ldap.handlers.LdapRequestHandler] - > ignoring the message MessageType : UNBIND_REQUEST > Message ID : 2 > UnBind > Requestorg.apache.directory.api.ldap.model.message.UnbindRequestImpl@db216363 > received from null session > > > Kind Regards, > Stefan >
