Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h1LKisT01341
 for <oracle-l@orafaq.net>; Fri, 21 Feb 2003 14:44:54 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h1LKisQ01336
 for <oracle-l@orafaq.net>; Fri, 21 Feb 2003 14:44:54 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id JAA38853;
 Fri, 21 Feb 2003 09:28:29 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 005548BC; Fri, 21 Feb 2003 08:18:52 -0800
Message-ID: <F001.005548BC.20030221081852@fatcity.com>
Date: Fri, 21 Feb 2003 08:18:52 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Boivin, Patrice J" <BoivinP@mar.dfo-mpo.gc.ca>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Boivin, Patrice J" <BoivinP@mar.dfo-mpo.gc.ca>
Subject: RE: ORA-02046
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

check dba_2pc_pending, there may be entries in there.

Oracle follows the 2-phase commit method when queries are submitted from
stored programming units, it is default behaviour that cannot be changed.

We ran into this with a Web application that was doing remote querying, and
Oracle said the only workaround for queries is issue a set transaction read
only before the query is submitted.

(though maybe this isn't the problem at all for your situation... )

HTH
Patrice Boivin
Systems Analyst (Oracle Certified DBA)

Systems Admin & Operations | Admin. et Exploit. des systèmes
Technology Services        | Services technologiques
Informatics Branch         | Direction de l'informatique 
Maritimes Region, DFO      | Région des Maritimes, MPO

E-Mail: boivinp@mar.dfo-mpo.gc.ca




-----Original Message-----
Sent: Friday, February 21, 2003 10:04 AM
To: Multiple recipients of list ORACLE-L


If on UNIX, running the oerr utility can be helpful to quickly find a bit
more information about ORA errors: (I do not know, what's available on
Windows). 

df2hp105 [oracle] => oerr ora 2046
02046, 00000, "distributed transaction already begun"
// *Cause: internal error or error in external transaction manager.
//         A server session received a begin_tran RPC before finishing
//         with a previous distributed tran.

Check if there are any trace files generated to find any clues, else, open
an iTAR (??). 

- Kirti 

-----Original Message-----
Sent: Friday, February 21, 2003 5:19 AM
To: Multiple recipients of list ORACLE-L


I'm getting the following error  while trying to select from table using
dblink:
ORA-02046 distributed transaction already begun 


Thanks
Manoj

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: manoj.gurnani@orbitech.co.in

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Deshpande, Kirti
  INET: kirti.deshpande@verizon.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Boivin, Patrice J
  INET: BoivinP@mar.dfo-mpo.gc.ca

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

