ORA-31224: DBMS_LDAP: invalid LDAP session
Cause: An attempt was made by a PL/SQL module to use an LDAP session which is not valid and might have already been closed
Action: Check the LDAP session handle in PL/SQL module involving DBMS_LDAP
https://support.oracle.com/
http://www.oracle.com/