Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-00001 causes MTS (shared) server to di

Re: ORA-00001 causes MTS (shared) server to di

From: NetComrade <andreyNSPAM_at_bookexchange.net>
Date: Thu, 13 May 2004 15:17:18 GMT
Message-ID: <40a39151.413357416@localhost>


Well,

If anyone cares.
Tracing didn't help.
Oracle support didn't help.
Bouncing DB helped.

On Wed, 28 Apr 2004 20:55:53 GMT, andreyNSPAM_at_bookexchange.net (NetComrade) wrote:

>We have started seeing a weird issue over the past months of so. The
>following appears in alert.log file
>
>Errors in file /u71/app/oracle/admin/BSBL/bdump/bsbl_s001_12771.trc:
>ORA-00604: error occurred at recursive SQL level 1
>ORA-02067: transaction or savepoint rollback required
>ORA-00001: unique constraint (USER1.TEAMS_U1) violated
>Wed Apr 28 16:17:07 2004
>found dead multi-threaded server 'S001', pid = (19, 232)
>
>I believe this to be an issue of transactions failing over the link
>b/c of constraint violation, but cannot be 100% sure.
>
>I believe ORA-00604 indicates that this is a trigger that's failing.
>The trigger we have is an 'AFTER INSERT' trigger that inserts over the
>link (database link). USER1 is _local_ user, so the constraint fails
>there. Oracle has suggested that we catch ORA-00001 in application
>code and rollback. We modified the app to savepoint and rollback to
>savepoint in case of ORA-00001, however it didn't help.
>
>The problem is that the trace files don't really report on which
>statement it fails. We wouldn't even care if this continued showing in
>alert.log file, but the fact that the error causes a server to die
>worries me. We have identified 2 statements in trace files that
>could've potentially caused the constraint violations (insert/update),
>and wrapped them with savepoing/rollback..
>
>Don't know what else we can do, besides tracing every session, which
>is not feasible, given database traffic.
>
>Application server (home-brewed) doesn't report any errors
>
>Anyone seen this? Any suggestions?
>
>Thanks.
>.......
>We use Oracle 8.1.7.4 on Solaris 2.7 boxes
>remove NSPAM to email

.......
We use Oracle 8.1.7.4 on Solaris 2.7 boxes remove NSPAM to email Received on Thu May 13 2004 - 10:17:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US