Oracle Error Message
ORA-31224: DBMS_LDAP: invalid LDAP session
Reason for the Error
An attempt was made by a PL/SQL module to use an LDAP session which is not valid and might have already been closed.
Solution
Check the LDAP session handle in PL/SQL module involving DBMS_LDAP.