VERIFIED SOLUTION i

EnagageOne installation issue when using "Other" LDAP Provider on Windows 2012

EngageOne 3.1.2.26180 Build 35
Windows 2012 R2

SQL Server 2012 R2
JBOSS EAP 6.2
Active Directory Lightweight Service (AD LDS)

Issue

During the EngageOne installation  on Windows 2012 (previously installed on Windows 2008), choosing "Other" for the ""Choose an LDAP provider" doesn't work.  I used the “Active Directory” option and got through the installation.  However, I was unable to log in with the Administrator user with the following JBOSS warning…

19:22:47,997 WARN  [com.pb.engageone.event.admin.LoginEvent] (Event Consumer 1) LoginEvent[name=Login,eventType=Warning,processType=login,userId=Administrator,externalId=null,externalSource=EngageOne,comments=null,startTimestamp=9/30/15 7:22 PM,endTimestamp=9/30/15 7:22 PM,workflowName=null,workflowEventName=null,properties=[Pair[key=exception.stack,value=java.lang.NullPointerException
               at com.g1.oe.ldap.LdapApi.getGroupsByUserDn(Unknown Source)
               at com.g1.oe.ldap.OeLdapApi.convertToUserContext(Unknown Source)
               at com.g1.oe.ldap.OeLdapApi.getUserContext(Unknown Source)
               at asi.api.UserManager.getLdapUser(Unknown Source)
               at asi.api.UserManager.getLdapUserContext(Unknown Source)
               at asi.api.UserManager.loginByLDAP(Unknown Source)
               at asi.api.UserManager.login(Unknown Source)
               at asi.api.UserManager.login(Unknown Source)
               at asi.api.UserManager.login(Unknown Source)
               at com.g1.ocm.api.ConnectionHelper.getEngageOneToken(Unknown Source)
               at com.g1.ocm.api.ConnectionHelper.getEngageOneToken(Unknown Source)
               at com.g1.ocm.ws.ConnectionSvcImpl.connectWithBracket(ConnectionSvcImpl.java:63)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:597)
               at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
               at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:98)
               at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
               at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
               at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
               at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
               at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
               at com.g1.ocm.ws.ExceptionFilter.doFilter(ExceptionFilter.java:46)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
               at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
               at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
               at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
               at java.lang.Thread.run(Thread.java:662)
],Pair[key=exception,value=java.lang.NullPointerException],Pair[key=exception.name,value=java.lang.NullPointerException],Pair[key=server,value=WIN],Pair[key=domain.name,value=EngageOne]]]

 

Cause

Incompatible settings.

Resolution

UPDATED: April 5, 2017
To fix this – I compared the config-settings.xml from Win 2008 install with config-settings.xml from 2012 and matched the settings of the Win 2012 install with the settings of the Win 2008 install from the following entries:

2008…
<setting>
            <key>LDAP.User.Filter</key>
            <value>(objectClass=person)</value>
        </setting>
<setting>
            <key>LDAP.User.Name.Attribute</key>
            <value>cn</value>
        </setting>
     <setting>
            <key>LDAP.Group.Name.Attribute</key>
            <value>cn</value>
        </setting>

2012…
<setting>
            <key>LDAP.User.Filter</key>
            <value>(objectClass=user)</value>
        </setting>
<setting>
            <key>LDAP.User.Name.Attribute</key>
            <value>AccountName</value>
        </setting>
     <setting>
            <key>LDAP.Group.Name.Attribute</key>
            <value> AccountName </value>
        </setting>

I am able to login to the Administrator now with the Administrator user from AD LDS.