Hi Sebastin,
Thanks for your reponse, Yes i have used the link to enable the ldap plugin.
But still i get the error. Please find the below log about the same
10:50:54.938 [main] INFO o.a.d.s.core.DefaultDirectoryService - ApacheDS shutdown hook has been registered with the runtime.
10:51:01.294 [main] ERROR o.a.d.s.s.r.DefaultAttributeTypeRegistry - attributeType w/ OID 2.5.4.16 not registered!
10:51:03.853 [main] INFO o.a.d.s.core.event.EventInterceptor - Initializing ...
10:51:03.884 [main] INFO o.a.d.s.core.event.EventInterceptor - Initialization complete.
10:51:08.565 [main] INFO o.a.directory.server.ldap.LdapServer - Successful bind of an LDAP Service (389) is completed.
10:51:08.565 [main] INFO o.a.directory.server.ldap.LdapServer - Ldap service started.
10:51:33.596 [main] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: Could not authenticate with LDAP server
10:51:42.311 [main] INFO o.a.directory.server.ldap.LdapServer - Unbind of an LDAP service (389) is complete.
10:51:42.311 [main] INFO o.a.directory.server.ldap.LdapServer - Sending notice of disconnect to existing clients sessions.
10:51:42.311 [main] INFO o.a.directory.server.ldap.LdapServer - Ldap service stopped.
10:51:42.530 [main] INFO o.a.d.s.core.DefaultDirectoryService - Waiting for SynchWorkerThread to die.
10:51:42.530 [main] ERROR org.camunda.bpm.engine.test - EXCEPTION: org.camunda.bpm.identity.impl.ldap.LdapAuthenticationException: Could not authenticate with LDAP server
org.camunda.bpm.identity.impl.ldap.LdapAuthenticationException: Could not authenticate with LDAP server
at org.camunda.bpm.identity.impl.ldap.LdapIdentityProviderSession.openContext(LdapIdentityProviderSession.java:114) [classes/:na]
at org.camunda.bpm.identity.impl.ldap.LdapIdentityProviderSession.ensureContextInitialized(LdapIdentityProviderSession.java:124) [classes/:na]
at org.camunda.bpm.identity.impl.ldap.LdapIdentityProviderSession.findGroupByQueryCriteria(LdapIdentityProviderSession.java:367) [classes/:na]
at org.camunda.bpm.identity.impl.ldap.LdapGroupQuery.executeList(LdapGroupQuery.java:48) [classes/:na]
at org.camunda.bpm.engine.impl.AbstractQuery.evaluateExpressionsAndExecuteList(AbstractQuery.java:186) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractQuery.executeSingleResult(AbstractQuery.java:207) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractQuery.execute(AbstractQuery.java:167) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:95) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractQuery.singleResult(AbstractQuery.java:130) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.identity.impl.ldap.posix.LdapPosixGroupQueryTest.testFilterByGroupId(LdapPosixGroupQueryTest.java:27) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.7.0_79]
at java.lang.reflect.Method.invoke(Unknown Source) [na:1.7.0_79]
at junit.framework.TestCase.runTest(TestCase.java:176) [junit-4.11.jar:na]
at junit.framework.TestCase.runBare(TestCase.java:141) [junit-4.11.jar:na]
at org.camunda.bpm.engine.impl.test.AbstractProcessEngineTestCase.runBare(AbstractProcessEngineTestCase.java:99) [camunda-engine-7.4.0.jar:7.4.0]
at junit.framework.TestResult$1.protect(TestResult.java:122) [junit-4.11.jar:na]
at junit.framework.TestResult.runProtected(TestResult.java:142) [junit-4.11.jar:na]
at junit.framework.TestResult.run(TestResult.java:125) [junit-4.11.jar:na]
at junit.framework.TestCase.run(TestCase.java:129) [junit-4.11.jar:na]
at junit.framework.TestSuite.runTest(TestSuite.java:255) [junit-4.11.jar:na]
at junit.framework.TestSuite.run(TestSuite.java:250) [junit-4.11.jar:na]
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) [junit-4.11.jar:na]
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) [.cp/:na]
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) [.cp/:na]
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) [.cp/:na]
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) [.cp/:na]
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) [.cp/:na]
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) [.cp/:na]
Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - Failed, invalid credentials for uid=TUser2,ou=IN,o=SOBIS,c=org]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source) [na:1.7.0_79]
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) [na:1.7.0_79]
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) [na:1.7.0_79]
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source) [na:1.7.0_79]
at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source) [na:1.7.0_79]
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source) [na:1.7.0_79]
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source) [na:1.7.0_79]
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source) [na:1.7.0_79]
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source) [na:1.7.0_79]
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) [na:1.7.0_79]
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) [na:1.7.0_79]
at javax.naming.InitialContext.init(Unknown Source) [na:1.7.0_79]
at javax.naming.ldap.InitialLdapContext.<init>(Unknown Source) [na:1.7.0_79]
at org.camunda.bpm.identity.impl.ldap.LdapIdentityProviderSession.openContext(LdapIdentityProviderSession.java:111) [classes/:na]
... 31 common frames omitted
10:51:42.842 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'drop' on component 'decision.engine' with resource 'org/camunda/bpm/engine/db/drop/activiti.mysql.drop.decision.engine.sql'
10:51:48.708 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'drop' on component 'decision.history' with resource 'org/camunda/bpm/engine/db/drop/activiti.mysql.drop.decision.history.sql'
10:51:51.922 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'drop' on component 'case.engine' with resource 'org/camunda/bpm/engine/db/drop/activiti.mysql.drop.case.engine.sql'
10:52:12.252 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'drop' on component 'engine' with resource 'org/camunda/bpm/engine/db/drop/activiti.mysql.drop.engine.sql'
10:52:14.172 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'drop' on component 'case.history' with resource 'org/camunda/bpm/engine/db/drop/activiti.mysql.drop.case.history.sql'
10:52:20.631 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'drop' on component 'history' with resource 'org/camunda/bpm/engine/db/drop/activiti.mysql.drop.history.sql'
10:52:21.303 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'drop' on component 'identity' with resource 'org/camunda/bpm/engine/db/drop/activiti.mysql.drop.identity.sql'
Let me know what is going woring in my configuration.
Thanks
Harshal