AppWorx, Dollar Universe and Sysload Community

 View Only
  • 1.  AwE-5008 LDAP authentication error

    Posted Feb 05, 2018 01:20 PM
    Hi,

    I'm trying to change the LDAP server to a LDAPS server on port 636 in the configuration of Application Manager V9 but when I do and click on "Test LDAP Connection", I receive the following error:

    LDAP authentication error : anonymous bind failed: ldap.***.xx:636 : null
         at com.appworx.server.data.AxRmiServer.validateLDAPConfiguration(AxRmiServer.java:2527)
         at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:497)
         at com.uc4.be.util.InvokeUtil.invoke(InvokeUtil.java:107)
         at com.appworx.util.InvokeRequest.invokeMethod(InvokeRequest.java:47)
         at com.appworx.server.data.C.A(ClientServices.java:150)
         at com.appworx.server.data.C.A(ClientServices.java:132)
         at com.appworx.server.data.D$_A.doRun(RemoteClientSocketManager.java:170)
         at com.uc4.be.threading.AbstractWorker.run(AbstractWorker.java:367)
         at java.lang.Thread.run(Thread.java:745)
         at com.appworx.client.screen.util.ClientSocketManager.sendRequest1(ClientSocketManager.java:341)
         at com.appworx.shared.iface.IRmiServer_Stub.validateLDAPConfiguration(IRmiServer_Stub.java:433)
         at com.appworx.client.screen.agentmgr.LdapMediator$1.actionPerformed(LdapMediator.java:72)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at com.appworx.client.screen.widget.AxInternalFrame.B(AxInternalFrame.java:320)
         at com.appworx.client.screen.widget.AxInternalFrame.setVisible(AxInternalFrame.java:164)
         at com.appworx.client.xml.screen.N.A(AbstractXmlListener.java:896)
         at com.appworx.client.xml.screen.N.A(AbstractXmlListener.java:264)
         at com.appworx.client.xml.screen.I.actionPerformed(XmlActionListener.java:57)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$500(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
     anonymous bind failed: ldap.xxxxx.xx:636

    Help would be greatly appreciated! thanks


  • 2.  AwE-5008 LDAP authentication error

    Posted Feb 05, 2018 02:27 PM
    any ideas?


  • 3.  AwE-5008 LDAP authentication error

    Posted Feb 05, 2018 04:21 PM

    This can sometimes be an invalid certificate.

    Previously the following has resolved this type of error:
    "add a new certificate to java and remove cn directive from dn field then restart the rmi server"



  • 4.  AwE-5008 LDAP authentication error

    Posted Feb 06, 2018 09:18 AM
    @Douglas Hammon: Thanks for your help! Unfortunatly, it didn't solve my problem. I've added the ldap certificat into the java cacerts and remove the cn in the field and now, the error is:

    ErrorMsg: AwE-9999 Internal error (18-02-06 09:17) 
    Details: null
    java.rmi.RemoteException: 10.6.187.11:1100:validateLDAPConfiguration; nested exception is: 
         java.lang.ClassCastException: com.appworx.util.PasswordValue cannot be cast to java.lang.String
         at com.appworx.client.screen.util.ClientSocketManager.sendRequest1(ClientSocketManager.java:334)
         at com.appworx.shared.iface.IRmiServer_Stub.validateLDAPConfiguration(IRmiServer_Stub.java:433)
         at com.appworx.client.screen.agentmgr.LdapMediator$1.actionPerformed(LdapMediator.java:72)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at com.appworx.client.screen.widget.AxInternalFrame.B(AxInternalFrame.java:320)
         at com.appworx.client.screen.widget.AxInternalFrame.setVisible(AxInternalFrame.java:164)
         at com.appworx.client.xml.screen.N.A(AbstractXmlListener.java:896)
         at com.appworx.client.xml.screen.N.A(AbstractXmlListener.java:264)
         at com.appworx.client.xml.screen.I.actionPerformed(XmlActionListener.java:57)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$500(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.ClassCastException: com.appworx.util.PasswordValue cannot be cast to java.lang.String
         at com.appworx.server.ldap.LDAPAppworxAuthentication.<init>(LDAPAppworxAuthentication.java:169)
         at com.appworx.server.ldap.LDAPAppworxAuthentication.<init>(LDAPAppworxAuthentication.java:121)
         at com.appworx.server.data.AxRmiServer.validateLDAPConfiguration(AxRmiServer.java:2522)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:497)
         at com.uc4.be.util.InvokeUtil.invoke(InvokeUtil.java:107)
         at com.appworx.util.InvokeRequest.invokeMethod(InvokeRequest.java:47)
         at com.appworx.server.data.C.A(ClientServices.java:150)
         at com.appworx.server.data.C.A(ClientServices.java:132)
         at com.appworx.server.data.D$_A.doRun(RemoteClientSocketManager.java:170)
         at com.uc4.be.threading.AbstractWorker.run(AbstractWorker.java:367)
         at java.lang.Thread.run(Thread.java:745)



  • 5.  AwE-5008 LDAP authentication error

    Posted Feb 06, 2018 11:35 AM

    I would recommend opening a ticket with support. Logs may need to be gathered and some testing done. Maybe someone else in the community may have ideas but opening a ticket might be helpful.



  • 6.  AwE-5008 LDAP authentication error

    Posted Feb 06, 2018 12:12 PM
    thanks!


  • 7.  AwE-5008 LDAP authentication error
    Best Answer

    Posted Feb 06, 2018 05:00 PM
    Currently, there is an issue with the "Test" button when LDAPS is enabled. You may find that you can still log in using your LDAPS credentials assuming the LDAPS configuration is correct..
    This will be resolved in Applications Manager v9.2.2 tentatively scheduled for release on 7/22/2018.


  • 8.  RE: AwE-5008 LDAP authentication error

    Posted Apr 02, 2020 03:39 PM
    Were you able to resolve this error?  What authentication Mechanism were you using in the LDAP tab on the agent?  simple?

    Thanks