Home » SQL & PL/SQL » SQL & PL/SQL » A problem with infinite loop in trigger.....Pliz solve my problem
A problem with infinite loop in trigger.....Pliz solve my problem [message #4321] Tue, 26 November 2002 21:54 Go to next message
Sudipta Choudhury
Messages: 8
Registered: July 2002
Junior Member
Dear freind,
I was design an web-page thrugh Java-Oracle combination; it is big site which calculates on many grounds and have a big database.... every calculations done through trigger & store procedure.It was run successfully from past few months.
But now for modification i was changed some triggers also change an INSTEAD OF insert trigger which includes a loop and i am test it by dry test and upload it , but when it first execute i.e the trigger was fired it would be goes on an infinite loop and thus the record was not seen on the table .Also when I try to delete or replace the trigger, I was failed to delete..... oracle shows an error message as follows:
ORA-04021 : timeout occured while waiting to lock object abc.gr_trigger
After a long period of two days teh record was inserted but the trigger's position is unchanged pliz sove my problem as soon as posible.
Re: A problem with infinite loop in trigger.....Pliz solve my problem [message #4323 is a reply to message #4321] Tue, 26 November 2002 23:02 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
a classic occurance of LIBRARY CACHE LOCK.
Please enable tracing and look into the trace file.
alter session set events '4021 trace name errorstack level 3';
alter session set events '4021 trace name systemstate level 10';
Previous Topic: SQL
Next Topic: key-preserved table
Goto Forum:
  


Current Time: Sun Sep 07 14:39:33 CDT 2025