0 Replies Latest reply on Oct 11, 2010 5:39 AM by Po Kevin

    Configure JBoss AS 5 and LDAP

    Po Kevin Newbie

      Hi there,

       

      Basically i have an application that sits on JBoss which needs to connect to a LDAP server. (OS is Windows XP Pro)

      I started the JBoss with run.bat -c all -b 192.168.1.1.

       

      I have no problem connecting to the LDAP server without SSL. The problem only surface when i setup the LDAP server with SSL which  i have trouble connecting to the LDAP server. The following is the error message.

       

      javax.naming.CommunicationException: simple bind failed: 192.168.1.100:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]

       

      I have google about configuring JBoss and LDAP and stumbled upon http://docs.jboss.org/jbportal/v2.6.2/referenceGuide/html/ldap.html . Do I really need a JBoss Portal to setup with LDAP??

       

      Could anyone out there help me out with this?? Or am i missing out any configuration on JBoss.

       

      Any advice would be greatly appreciated. Many thanks in advance.

       

      Kevin