Trying to recompile a procedure causes the application to hang (ie: SQL*Plus hangs after submitting the statement). Eventually ORA-4021 errors occur after the timeout (usually 5 minutes). Here is the soluation from metalink: Note:ID 107756.1 Error: ORA 4021 Text: time-out occurred while waiting to lock object —————————————————————————– Cause: While trying to lock a library object, [...]
