Distributed Transaction bug in 12 c Managed pilot?

I posted previously in Oracle Services for MTS, but I think it's actually more relevant here.

Attempts to open multiple connections in a result of the Transaction in ORA-12514

Using a simple call to TransactionScope I was trying 2 different connections in a distributed transaction that provides a single point of success or failure for several operations of the self.

From the second connection open, bang - ORA-12514, occurs a completely misleading mistake, but take the transaction out of the equation, and it does not, if something was clearly at stake.

This morning, I put across the right code back to basics to add a simple test:

using (var ts = new TransactionScope(TransactionScopeOption.RequiresNew, new TransactionOptions {IsolationLevel = IsolationLevel.ReadCommitted}, EnterpriseServicesInteropOption.Full)) {
   using (var oc1 = new OracleConnection(_connectionString)) {
         oc1
.Open();
        
using (var oc2 = new OracleConnection(_quartzString)) {
            oc2
.Open();
        
}
  
}
}


The same issue has occurred.  Then I downloaded ILSpy to view the c# language for the Oracle driver, and that's where I noticed that connection pooling seemed to be at the heart of the issue, although she has not commented on it is pretty hard to follow exactly what is happening.

From what I could tell, when a connection is opened it checks to see if a transaction is running and if so, consult a dictionary of connection strings based on the local identifier of the transaction.  What seems to be the problem, is that which is not allowing new connections being created and added, where it breaks down.  Then I re-tried the same test, but opened and closed the second connection outside the trial * before * creating the transaction like this:


var oc3 = new OracleConnection (_connectionString);

OC3. Open();

OC3. Close();

using ()var ts = new TransactionScopeTransactionScopeOption. (), RequiresNew , new TransactionOptions {IsolationLevel = IsolationLevel. } ReadCommitted { }, EnterpriseServicesInteropOption. Full )) {
to ()var oc1 = new OracleConnection()_connectionString)) { }
oc1
. Open ();
using (var oc2 = new OracleConnection(_quartzString)) {
OC2. Open ();
}
}

}


and guess what - it works... so it looks like there is a problem with connection pooling.

All my values for the connection are default usual bar (source of data, password) and user id.

I do not specify a minimum pool size, etc..  I then tried to play with the attributes of the connection pool, but no cigar.

Turns to me as if it was to see the connections available at the point of the transaction with the context begins registration of connections, but it's probably not good.


Someone else had the same experience or a solution?  I was wondering if I'm going to pre-fill connections whenever I want to do a transaction... will try and enable tracing then so I can see the pilot done and why.

You can use SERVICE_NAME instead of SID? If it works, it's confirmed it's the same bug (and you have a work around).

In fact, I don't think that anyone outside the Oracle can see this particular bug. This bug was discovered in internal tests. These bugs are not publicly exposed as the vast majority occur in the pre-production software, which customers has access to.

This bug has been recently fixed and merged into the main code line. I don't know that it will be picked up by ODAC R4 12 c due to the timing. However, it should be in an upcoming patch.

Tags: Database

Similar Questions

  • Distributed Transaction Coordinator (DTC) 1073737712 service error code.

    Original title: MSDTC

    Cannot enable Distributed Transaction Coordinator - specific error code-1073737712. All solutions?

    Unless you need to use the DTC Service, I would set it to manual startup or disabled since there is no need to run all day doing nothing.

    Maybe you don't want to not have running or just want to be sure that it will start when you need to start without complaining, then in this case, read this:

    You try to start the Distributed Transaction Coordinator Service (MSDTC) you see a message like this:

    Windows could not start the Distributed Transaction Coordinator on Local computer. For more information, see the system event log. If it is a non-Microsoft service, contact the service vendor and refer to service special-1073737712 error code.

    Look for the events as a present to the Event Viewer Application log:

    Event type: error
    Event source: MSDTC
    Event category: Services
    Event ID: 4163
    Description:
    MS DTC log file not found. After ensuring that all resource managers coordinated by MS DTC have no indoubt transactions, please run msdtc - resetlog to create the log file.

    Event type: error
    Event source: MSDTC
    Event category: disk
    Event ID: 4185
    Description:
    MS DTC transaction manager start failed. LogInit returned error 0 x 2.

    Event type: error
    Event source: MSDTC
    Event category: devices
    Event ID: 4112
    Description:
    Not able to start the MS DTC transaction manager.

    Usually, this means that the file MTDSC.log is missing or corrupt in some way.  The MSDTC log file is usually here so take a look:

    C:\WINDOWS\System32\Msdtc

    To restore and create a new file, MSDTC.log, click Start, run and enter in the box:

    msdtc - resetlog

    Click OK and that will create a new file, MSDTC.log, then see if you can start the MSDTC Service and look for something like this in the case where the monitoring log Application:

    Event type: Information
    Event source: MSDTC
    Event category: disk
    Event ID: 2444
    Description:
    MS DTC is started with the following parameters:

    Security configuration (OFF = 0 and ON = 1):
    Network operations management = 0,
    Network Clients = 0,
    The Distributed Transactions using Native MSDTC inbound protocol = 0,
    Out of Transactions distributed using Native MSDTC = 0 protocol,
    Transaction Internet Protocol (TIP) = 0.
    0 = XA transactions

  • 8004E00F-COM + unable to speak of Microsoft Distributed Transaction Coordinator

    Hello ALL-
    The displayed error message occurs when you are looking for performance of the system information in computer management.
    I use a brand new Lenovo 410p labtop, Windows 8 OS. No request for heavy trucks has been added.  So far, Windows 8 errors were the only things I 'liked' on a laptop I had for 3 days.  Any guidance would be greatly appreciated!
    Thank you!
    Windows error messages are:
    -8004E00F-COM + unable to speak of Microsoft Distributed Transaction Coordinator
    -Try to generate a system health report property values conflict
    -A MS DTC component has encountered an internal error. The process is being completed. Details of the error: DtcSystemShutdown (com\complus\dtc\dtc\msdtc\src\msdtc.cpp@2485): stop with an error
    N ' unable to start the MS DTC transaction manager
    -The MMC stops

    Hi Ryan,

    This is caused by the Service MSDTC (Distributed transaction coordinator) is configured to run under the local system account. It must run under the account NTAuthority\NetworkService instead.

    To resolve this issue, try the following steps.

    Note: Before you perform these steps, please take a backup of the registry. http://Windows.Microsoft.com/en-in/Windows7/back-up-the-registry (Steps mentioned in the link can be used for Windows 8 institutions)

    -Press Windows key and press R to open the run prompt and type Regedit.exe , and then on enter to open the registry editor.
    -Locate HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC.
    -Right-click on TurnOffRpcSecurity and select Edit. Add the value 1.
    -In the prompt to run, type Services.msc and look for Distributed Transaction Coordinator. Right-click on it and select stop
    -Right-click on the Service and then select Properties. Click the log.
    -Restore the log on the NT Authority\NetworkService account
    -Just type NT Authority\NetworkService
    -the password is empty.
    -Click on apply and Ok
    -Launch Distributed Transaction Coordinator service.

    Restart the computer and check if you still have the problem.

    Measures have been taken from the link http://social.technet.microsoft.com/Forums/windowsserver/en-US/dd5515ed-d945-467b-bf34-78e161a1fe5d/server-2003-r2-red-arrow-on-dcom

    Hope this information is useful. If you have any questions, please let us know.

  • Error 8004E00F-COM + unable to speak of Microsoft Distributed Transaction Coordinator

    Hello ALL-
    The displayed error message occurs when you are looking for performance of the system information in computer management.
    I use a processor of Pentium 4 Board MSI Windows 8 OS; No request for heavy trucks has been added.  So far, Windows 8 errors were the only things. Any guidance would be greatly appreciated!
    Thank you!
    Windows error messages are:
    -8004E00F-COM + unable to speak of Microsoft Distributed Transaction Coordinator
    -The event log may contain additional troubleshooting information

    Hi Umesh,

    Please provide the following information.

    When you get this error?

    I suggest you also check the observer of events at the time of the breakup.  The event viewer is an advanced tool that displays detailed information about important events on your computer. It can be useful when troubleshooting problems and errors with Windows and other programs.

    To access the event viewer in Windows 8:

    (a) go to the splash screen. Type in event Viewer .
    (b) this will bring up the box of eventViewer . Click to open Event Viewer.
    (c) in the left pane, expand WindowsLogs.

    Click Applicationlog . Select the first event in the log, and then use the arrow keys to scroll down. Most of your event will be information. Maybe you will see yellow warnings or errors in red. If you see a red error, you can double-click on it to bring it and copy the contents into a document. Copy the complete error message and paste it, so we check the full error message.

    I suggest you follow the steps in the link below.

    Note: before you perform these steps, please take a backup of the registry.

    (Steps mentioned in the link can be used for Windows 8 institutions)

    Alternatively, you can follow the steps below.

    (a) press Windows Key + E.
    (b) open the drive in which you installed Windows 8 operating
    System.
    (c) open the Windows folder. Go to the System32folder------Dtclog folder.
    (d) If a Msdtc.log file exists, rename it to Msdtc.old.
    (e) open Notepad , and then save a blank file in %SystemRoot%\System32\Dtclog\Msdtc.log.
    (f) press the Windows key + Q, type CMD.
    (g) right click on search results, and select run as administrator.

    (h) open a CMD prompt and type: msdtc - resetlog and press enter.

    Hope that solves your problem. We will help you more if you are faced with a
    Difficulty.
  • Managed pilot throws ORA-01483 or ORA-01461 when inserting the CLOB

    I think I found a bug in the driver managed to ODAC 12 c Release 3 (12.1.0.2.1). It is similar to that examined in problem with Managed ODP.NET driver update nclob raises ORA-01483, but also happens with shorter CLOB. Maye added challenge is therefore necessary.

    I'm trying to insert two strings to the CLOB columns in addition to the other columns. Although I try to insert the same data, a different error is thrown depending on the order of the parameters.

    If I first bind the shorter string, the error is:

    ORA-01483: invalid length for the DATE or NUMBER variable binding

    If I bind the longer string first, the error is:

    ORA-01461: can bind to a LONG value only for insert into a LONG column

    Please see the archive attached to a solution of the sample that reproduces the two errors.

    The system environment:

    • The driver is fully managed from ODAC 12 c Release 3 (12.1.0.2.1) - the pilot who requires that the instant client does not show this problem.
    • .NET framework 4.5.2
    • Windows 7 SP1 x 64
    • Server: 11.2.0.4.0 running on Windows Server 2008 R2 x 64

    Unfortunately, this errors occur quite often in my application and prevent me to move to the managed pilot, so a bug in output or workaround would be greatly appreciated.

    Hello

    As I wrote above, 20361140 patch resolves the issue.

    Patch 20684004 (DB Windows Bundle Patch 12.1. 0.2.4) and hotfix 20684157 (Windows Bundle Patch 12.1.0.2.5 DB) does not contain the fix. They do not contain an updated ODP.NET file.

    The right patch 21020286 (DB Windows Bundle Patch 12.1. 0.2.6) once again does not contain the fix. This is the latest version of ODP.NET I know. His version of product is 4.121.2. 20150515

    I would also like to see a NuGet package update. Handling everything patches manually, it is really a pain.

    Edit: as written below, an updated NuGet package was released. There the 12.1.22 version

  • Why Distributed Transaction error at the Message bean but not not Backing Bean?

    Hi guys,.

    * Update * I read the second post first.

    Using JDeveloper 12.1.2.0.0 and integrated WebLogic server of the same version.

    I have an ADF program where a draft of the application using JDBC in a message bean.  If I create an Application Module within the project and then sign in using its connection (java: comp/env/jdbc/MyAdfConnDS), then the code below works fine.  However, if I search connection JDBC (jdbc/MyJdbcDS), I have configured in WebLogic myself, then I distributed transaction errors.  How can I configure my JDBC connection to imitate the one who creates the AppModule?  This way I can run prepared explicitly stated and validation of the call?

    Here is my code JDBC

            conn.setAutoCommit(false);
            PreparedStatement statement = conn.prepareStatement(sql);
            statement.setLong(1, companyAccountId);
    // errors here
            statement.execute();
            conn.commit();
            statement.close();
    
    
    

    Which results in the error

    // prepared statement.
    DELETE BUSINESS_PARTNERS WHERE MASTER_TYPE_KEY = 'C' AND COMPANY_ACCOUNT_ID = ?
    java.sql.SQLException: Cannot call commit when using distributed transactions
                at weblogic.jdbc.wrapper.JTAConnection.commit(JTAConnection.java:373)
                at com.sample.myProduct.jms.clients.MyClient.deleteEntities(MyClient.java:211)
                at com.sample.myProduct.jms.clients.MyClient.importData(MyClient.java:155)
                at com.sample.myProduct.jms.beans.ImportMessageBean.onMessage(ImportMessageBean.java:91)
                at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:575)
                at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
                at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:375)
                at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4855)
                at weblogic.jms.client.JMSSession.execute(JMSSession.java:4529)
                at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3976)
                at weblogic.jms.client.JMSSession.access$000(JMSSession.java:120)
                at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5375)
                at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    
    
    

    Here is a screenshot of all the available drivers: www.williverstravels.com/JDev/Forums/Threads/3544909/drivers.png, as well as the configuration of the transaction screen www.williverstravels.com/JDev/Forums/Threads/3544909/config.png

    I've tinkered enough to feel quite strongly, it is not an error in coding, but rather something in Weblogic.  I read what I can, but I don't know how the AppModule creates connections.  I would not add an AppModule just to retrieve its data source / login information if I don't.

    Ideas?

    Obviously, your message bean is configured to participate in a global transaction (for example, a JTA transaction). It is a behavior of the default message bean, even if you have not explicitly configured. When you get and use a JDBC connection in your message bean, this connection is attached to and participates in the overall transaction message bean (because you used compatible driver Oracle XA, it is seen on the 1st screenshot in your post), so you cannot perform local validation on the JDBC connection.

    Commit / rollback in this case can only be performed on the overall transaction (if the message bean is configured with the transactions managed by container) to be automatically or manually on the UserTransaction object (if the message bean is configured with bean-managed transactions). In other words, you must remove the conn.commit () statement, which is erroneous and obsolete when it is used in your message bean. If the message bean uses transactions managed by container, the container will commit / rollback automatically at the end of the method all the resources involved in the overall transaction (including your JDBC connection). If the method completed successfully (without exception), a validation will be performed. If the method fails (i.e., it ends with an exception), a cancellation will be made. If the message bean uses bean-managed transactions, the transaction is committed/restored when you explicitly call UserTransaction.commit () or UserTransaction.rollback ().

    The code above worked in a managed bean because JSF, ADF BC or ADF Faces applications require and participate in JTA transactions, then your JDBC connection has not been attached to a global transaction and you were able to perform local validation on the JDBC connection.

    You have two options to solve the problem. It depends on if you want your operations of JDBC to be in a global transaction with the bean of the message itself and its other actions or not. If they must be in a global transaction, then just remove the conn.commit () statement from your code. If they shouldn't be in a global transaction, you must either configure the message bean not to participate in global transactions or to configure the data source to use the «of the (thin) Oracle driver...» "instead of"Oracle (XA Thin)... driver. " ». (Remember to score the DataSource DO NOT to participate in a global transaction in the 2nd page of the data source configuration dialog in the management of WLS Console).

    NB. I highly recommend that you keep the global transactions. If you choose not to use a global transaction, it can happen that you committed the JDBC operations but an exception that happens after that, so the JMS message is not removed from the queue of messages and it will be processed after that, which causes the same operations of JDBC to be played and committed twice which must be avoided.

    Dimitar

  • Link Oracle to the Distributed Transaction

    In my application, I have to integrate the system into two (or I would say two separate instances of Oracle databases) through a Java program.

    Program to copy data (about 100 records/hour) of an Oracle database instance and the same transfer to another instance of Oracle and Vice versa. Given that this is going to be a lot application stand alone, I thought using the transaction manager distributed as JBOSS TM to control the distributed transaction.

    East - the right approach? Or can you suggest a better alternative for this work?

    853627 wrote:
    I agree with your explanation link Oracle, and Yes, it would be ideal to have in this case. For some reason, I have to use the means of Java.

    Why I am using the distributed transaction because I'm following some steps to iterate:

    (1) read A database data,
    (2) move the data to the database B
    (3) after the successful execution of step 1 and 2, there is another table in the database to where I need to mark that some records were migrated to the database "A" to "B".
    (4) after that, I have to update a table with details of migration: number of records to read, end when this routine, any error validation in documents etc...

    Distributed transactions require some complications and level database support.

    But I don't see anything that suggests you need.

    First step is to no basic transactions.

    Single point of failure is between 2 and 3/4. And I suspect that you could handle this with a follow-up to a table.

    (1) start transaction, read data from database A, updated follow-up table, end transaction.
    (2) move the data to the database B
    (3) start Transaction
    (4) after the successful execution of step 1 and 2, there is another table in the database to where I need to mark that some records were migrated to the database "A" to "B".
    (5) (has, without doubt) after that, I have to update a table with details of migration: number of records to read, end when this routine, any error validation in documents etc...
    (6) clean the tracking table
    (7) to complete the transaction.

    If there is a failure, then use the follow-up of knockouts correction table.

  • ORA-02074: cannot DEFINE NLS in a distributed transaction

    Short - installation of pre-production

    After Doc ID 1683074.1 for installation quick config, executing a link ' run charts ' task errors and clover logs show the error below:

    08-18 15:08:01, 654 execution [WatchDog] ERROR WatchDog 96200 chart completed with error

    08-18 15:08:01, 658 WatchDog [WatchDog] ERROR 96200 node SET_SESSION_LANGUAGE completed with status: ERROR caused by: ORA-20001: Oracle - 20001 error: ORA-20001: 2074-Oracle error: ORA-02074: cannot DEFINE NLS in a distributed transaction

    has been detected in fnd_global.set_nls.set_parameter ('NLS_LANGUAGE', 'AMERICAN').

    has been detected in fnd_global.set_nls.

    ORA-06512: at the 'APPS '. APP_EXCEPTION", line 72

    ORA-06512: at the 'APPS '. FND_GLOBAL', line 271

    ORA-06512: at the 'APPS '. FND_GLOBAL', line 1575

    ORA-06512: at the 'APPS '. FND_GLOBAL', line 1603

    ORA-06512: at line 1

    08-18 15:08:01, 658 [WatchDog] WatchDog ERROR 96200 node SET_SESSION_LANGUAGE Error Details:

    java.sql.SQLException: ORA-20001: Oracle - 20001 error: ORA-20001: 2074-Oracle error: ORA-02074: cannot DEFINE NLS in a distributed transaction

    has been detected in fnd_global.set_nls.set_parameter ('NLS_LANGUAGE', 'AMERICAN').

    has been detected in fnd_global.set_nls.

    ORA-06512: at the 'APPS '. APP_EXCEPTION", line 72

    ORA-06512: at the 'APPS '. FND_GLOBAL', line 271

    ORA-06512: at the 'APPS '. FND_GLOBAL', line 1575

    ORA-06512: at the 'APPS '. FND_GLOBAL', line 1603

    ORA-06512: at line 1

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)

    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)

    at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1033)

    I discovered the problem.

    I thought he should be a configuration of data source problem. During installation, for some reason, the ebsdb data source is not created on the server of clover, so I added it.

    It's the driver being used. I used the default is generic.

    I've updated the data source "oracle.jdbc.OracleDriver" and restarted the server.

    Looks like it will work now.

  • ORA-01591: lock held by string of uncertain distributed transaction error

    Hi gurus,

    I get the error message
    ORA-01591: lock held by string of uncertain distributed transactions error during the execution of a procedure.

    Procedure basically inserts 2 tables and update the 1 table.
    The order of execution is given below.
    However, I get the error as table is locked.
    Can you help me please how to handle this?


    Begin

    Insert into values table_a (nominale1, value2); -(our database)

    Insert into table_b@remote_DB values (Value1, value2); -(DISTANCE DB)

    Update table C; -(our database)

    commit; -When I debugged I get exception with the above sql error in this validation.

    End;

    Tina wrote:
    Hi gurus,

    I get the error message
    ORA-01591: lock held by string of uncertain distributed transactions error during the execution of a procedure.

    Procedure basically inserts 2 tables and update the 1 table.
    The order of execution is given below.
    However, I get the error as table is locked.
    Can you help me please how to handle this?

    Begin

    Insert into values table_a (nominale1, value2); -(our database)

    Insert into table_b@remote_DB values (Value1, value2); -(DISTANCE DB)

    Update table C; -(our database)

    commit; -When I debugged I get exception with the above sql error in this validation.

    End;

    01591, 00000, "lock held by in-doubt distributed transaction %s"
    // *Cause:  Trying to access resource that is locked by a dead two-phase commit
    //          transaction that is in prepared state.
    // *Action: DBA should query the pending_trans$ and related tables, and attempt
    //          to repair network connection(s) to coordinator and commit point.
    //          If timely repair is not possible, DBA should contact DBA at commit
    //          point if known or end user for correct outcome, or use heuristic
    //          default if given to issue a heuristic commit or abort command to
    //          finalize the local portion of the distributed transaction.
    
  • Any distributed transaction name

    Hello!

    Can you please explain on the DISTRIButed transaction?
    What is the < Second_word > in alertlog messages
    DISTRIB TRAN < SID >. < Second_word >. < address >

    Thank you!

    Paul,

    I think you're looking at the link below:
    http://blogs.Oracle.com/DB/entry/oracle_support_master_note_for_troubleshooting_managed_distributed_transactions_doc_id_1006641

    In one example, it is said:
    DISTRIB TRAN DB102D.UK.ORACLE.COM.ea27958e.9.46.338

    Means:
    GLOBAL_TRAN_ID: DB102D.UK.ORACLE.COM.ea27958e.9.46.338

    DB102D.UK. ORACLE.COM = DATABASE
    DBID = ea27958e
    9.46.338 = LOCAL_TRAN_ID

    Concerning
    Girish Sharma

  • DatabaseError: ORA-02049: timeout: distributed transaction waiting for lock

    Hi all

    There is no script running in my data base 'A' that will select data from one table to another database via DBLINK and update tables too. The script including 6 I spin for the past 6 monts with success. Yesterday I got the error message saying that,

    DatabaseError: ORA-02049: timeout: distributed transaction waiting for lock
    ORA-02063: preceding the test line

    I have tested the link and its assets no problem in DBLINk

    I understand the objects which I access the table in locked mode.

    SQL > select OBJECT_ID, SESSION_ID, PROCESS, LOCKED_MODE from v$ locked_object where
    SESSION_ID = 121;
    OBJECT_ID SESSION_ID PROCESS LOCKED_MODE
    ---------- ---------- ------------ -----------
    77391 121 21394 3

    I have
    I killed the session 121 and in v$ session state is killed, but I get the same error repeated during execution of the script. And the session ID is always in locked_mode.

    Might add it please help with that?

    -Thank you
    Antony

    This application allows to find the OS process id for your session of people KILLED and to kill him by operating system command.

    Kill - 9 spid

    SELECT a.username, a.osuser, a.terminal, a.program, spid, SID, a.serial #.
    SESSION v$, $ v process b
    WHERE a.paddr = b.addr AND a.status = 'KILLED '.

    Concerning
    Asif Kabir

  • ORA-02046: distributed transaction already started

    Hello
    I've written a PL/SQL procedure, which is the insertion of records in a remote table in another database via dblink. First, the procedure works well, but when I try to run once a second, it gives me following error:

    ORA-02046: distributed transaction already started

    Y at - it a solution or a workaround?

    Thanks and greetings

    Please do a favor and give me a small example of this DBMS_SESSION. CLOSE_DATABASE_LINK.

    Here are the ways links could be closed

    (A) that the session that opened the database link can close it...
    Database connection are closed when the session is closed...
    Select * from dba_DB_LINKS---> will show links to database created
    V$ DBLINK will be lists all links data base open and active in your session...

    For an indication of how long the dblink has been opened, run:
    Select s.sid, s.username, s.machine, t.addr, s.status,
    (sysdate - to_date (t.start_time, "MM/DD/YY HH24:MI:SS')) * 24 as hours_active"))
    v $ transaction t, v$ session s
    where t.addr = s.taddr;

    How do I know if a transaction is local or distributed?
    Check v$ global_transaction

    (B) using the ALTER SESSION or explicitly by using the command:

    change the connection to session database ;
    or use the following package:
    DBMS_SESSION.close_database_link ();

    (C) it is also posible to put idle limit user under which connects dblink.
    On the side Server dblink (dblink target) question:

    Create profile Pattente idle limit 5; -5 minutes
    change user profile Pattente test; -According to which the user connects dblink
    ALTER system set resource_limit = true; -must be set to work idle limit
    (or add resource_limit = true init.ora, or both)

    Also check

    DBMS_SESSION. CLOSE_DATABASE_LINK

    Concerning
    Rajesh

  • Satellite P70-A-112 - Windows 8 - Bug with the Application Manager & display

    Hello

    I bought this Toshiba laptop in August with 8 (64-bit) windows integrated.

    It all started yesterday, when Windows has crashed due to a "BAD_POOL_HEADER" error Since then, I can't access the "Start" menu in Windows 8, can't run all the applications related to this tablet - like menu. For example, I can't even open a photo more or cannot open a PDF with Acrobat Reader.

    My problem is twhreefold:
    First of all, it seems that the app Manager doesn't seem to work when I start the computer. And this application manager seems to be required to operate the start menu.

    Secondly, I can't access the settings of my computer with my cursor on the upper right, making it impossible to shut down my computer in the normal way.

    Third, when I managed to restart my computer, I get most of the time to a black background and just an image of non-working image of the quickbar at the bottom of the screen. Nothing works.

    Oddly, the only way I found to "solve" this problem is by pluging - in a second screen. However, it is simply a temporary solution: whenever I plug off the second screen, the nightmare starts again.

    Could you please help me identify exactly the problem and help me solve it?

    Thank you very much.

    > According to other forums on the net, it could be a hard drive problem.

    Yes, probably its problem of memory. I think that the modules of memory must be tested.

    > What to do?
    Your laptop is new. Right?
    This means that the guarantee is valid and should be fixed the hardware problems under conditions of warranty.
    In my opinion you should like your ISP for assistance.

  • support for transactions in the specified resource manager is not started or has been closed due to an error (0x80071A91)

    try to use the windows backup utility, started using it, but came up with this error message

    Hello

    This problem occurs if the Windows file system transaction log is damaged. The Windows file system uses the transaction log to retrieve the system transactions when a file error occurs.

    To resolve this issue, follow these steps:

    1. Click on start toreduce this includes this im, type cmd in the Search box, and then click cmd in the list of programs .
    2. Click run as administrator, and then click continue. Collapse this includes this imaIf you are prompted for an administrator password or for confirmation, type the password, or click allow.
    3. At a command prompt, type the following command and press ENTER:

    fsutil resource setautoreset true c:\

    Note These steps assume that Windows is installed in the default location, drive C. If this is not the case, adjust the drive letter of the path of the folder to match your configuration.

    1. Restart the computer

    Now, check if you are able to perform the backup.

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • 12cR1 ODAC managed pilot

    The 12cR1 ODAC pilot run is out yet for download?  If Yes, where?  If not, when?

    Thank you!

    Not yet. Best way to learn when is to subscribe to a feed of Twitter: @OracleDOTNET.

    It will be also described on the cover page of the OTN .NET Developer Center when it is released.

Maybe you are looking for

  • An email keeps popping up. Cannot receive any other emails.

    I have a specific e-mail that keeps downloading again and again. It is intended to prevent one of my other e-mail of download. How can I fix?

  • Fingerprint software does not recognize my fingerprints

    Hello I installed the 64-bit Windows 7 (using cd upgrade upgrade to win7 program)Installed all updates (windows) However, fingerprint software does not recognize my fingerprints-. -.The first two are fine, but the third party never works, it's the sa

  • BSOD after windows upgrade from Home Premium to Vista Ultimate

    Hello I have a brand new A200 - TH1 comes with Vista Home Premium installed Edition. I had to install Vista Ultimate to get the job in Sql Server 2005 Reporting SERVICES. Upgrade Windows at all times managed without problems or errors. The problem is

  • Ring in silver on screen

    A few weeks ago an 'image' jumped on my desk (and it's always on the top of each application) a white/silver ring. I do not see it appear. It's just there the next time I went on my computer. It is about 1 inch in diameter and look exactly like a thi

  • HP Pavilion g6 - 1021ev: where do I find? (Recovery discs)

    Hi all. I'm new to this forum (I'm from the Greece). I'm losing my score because I have the format. Where do I find / download it now? Thank you.