You can use the Oracle Commerce Platform’s LDAP server connection tool to test whether the JNDI environment properties in the InitialContextEnvironment
component are configured appropriately for your server.
To test the connection to the LDAP server, do the following:
From the command line, switch to the following directory:
<ATG11dir>/DAS/LDAP/lib
Issue the following command:
For Active Directory:
java -classpath ./ldap.jar LDAPConnection MicrosoftActiveDirectory
For Oracle Directory Server:
java -classpath ./ldap.jar LDAPConnection iPlanetDirectory
If the Oracle Commerce Platform connects successfully to your LDAP server, it displays this message:
Successfully Created Context:
javax.naming.directory.InitialDirContextcontext_number
Troubleshooting the Server Connection
If the system does not connect to your LDAP server, it displays one of the following error messages:
Error Message | InitialContextEnvironment |
---|---|
The following Error Occurred: |
|
The following Error Occurred: |
|
Bad Username and/or Password: |
|