| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-04021 timeout occurred while waiting to lock object
Except that if it's due to someone else executing, then it's
already compiled, and killing their session to compile it would
be pointless. ;-)
(Unless he meant that he was attempting to recreate the object w/ new code "CREATE OR REPLACE PROCEDURE ...".)
-Mark
On Sat, 03 Jul 2004 10:05:07 +0000, Jonathan Lewis wrote:
>
> Someone else is probably executing the package/procedure
> while you are trying to compile it.
>
> Find out who that is - you can find out who it is
> by checking the view dba_lock_internal that can
> be built using the catblock.sql script from the
> $ORACLE_HOME/rdbms/admin directory - and
> terminate their session if you can.
Received on Wed Jul 07 2004 - 01:34:24 CDT
![]() |
![]() |