Issue #255 resolved

Active Directory Plugin issue

Anonymous created an issue

The system I have SCM running on doesn't have a 100% uptime to Active Directory

The following sometimes happens when active directory is unavailable and when it does SCM has to be restarted in order for people to be able to log in again even though the systems connection to Active Directory has been restored.

03:24:59.540 [scm.frogslayer.com-startStop-1] ERROR sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - Failure initializing ADSI connection com4j.ExecutionException: com4j.ComException: 8007054b Failed to MkParseDisplayName : The specified domain either does not exist or could not be contacted. : .\com4j.cpp:217 at com4j.ComThread.execute(ComThread.java:203) ~[com4j-20120426-2.jar:na] at com4j.Task.execute(Task.java:25) ~[com4j-20120426-2.jar:na] at com4j.COM4J.getObject(COM4J.java:256) ~[com4j-20120426-2.jar:na] at sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler.init(ActiveDirectoryAuthenticationHandler.java:166) ~[scm-activedirectory-auth-plugin-1.8.jar:na] at sonia.scm.web.security.ChainAuthenticatonManager.init(ChainAuthenticatonManager.java:191) [ChainAuthenticatonManager.class:na] at sonia.scm.ScmContextListener.getDefaultInjector(ScmContextListener.java:214) [ScmContextListener.class:na] at sonia.scm.ScmContextListener.getInjector(ScmContextListener.java:158) [ScmContextListener.class:na] at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:45) [guice-servlet-3.0.jar:na] at sonia.scm.ScmContextListener.contextInitialized(ScmContextListener.java:130) [ScmContextListener.class:na] at sonia.scm.boot.BootstrapListener.contextInitialized(BootstrapListener.java:172) [BootstrapListener.class:na] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) [catalina.jar:7.0.30] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) [catalina.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.30] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [catalina.jar:7.0.30] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [catalina.jar:7.0.30] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) [catalina.jar:7.0.30] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963) [catalina.jar:7.0.30] at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600) [catalina.jar:7.0.30] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.6.0_35] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [na:1.6.0_35] at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.6.0_35] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [na:1.6.0_35] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.6.0_35] at java.lang.Thread.run(Unknown Source) [na:1.6.0_35] com4j.ComException: 8007054b Failed to MkParseDisplayName : The specified domain either does not exist or could not be contacted. at com4j.Native.getObject(Native Method) ~[com4j-20120426-2.jar:na] at com4j.COM4J$GetObjectTask.call(COM4J.java:277) ~[com4j-20120426-2.jar:na] at com4j.COM4J$GetObjectTask.call(COM4J.java:265) ~[com4j-20120426-2.jar:na] at com4j.Task.invoke(Task.java:51) ~[com4j-20120426-2.jar:na] at com4j.ComThread.run0(ComThread.java:153) ~[com4j-20120426-2.jar:na] at com4j.ComThread.run(ComThread.java:134) ~[com4j-20120426-2.jar:na]

Comments (2)

  1. Stephan Christann

    Hello,

    we are using the LDAP plugin in order to cennect to our windows server 2008 r2 domain. Connections interrupts are no problem on our side, perhaps you should give a try?

  2. Log in to comment