Oracle Services for MTS in multiple servers - does not work

I am having problems with running transactional component (COM+) using Oracle Services for MTS.
I've been through pretty much all the messages in this forum, and I believe that I have
configured things correctly. Here are the details. Sorry for the long post. I wanted to give as much details as possible.
Database - Oracle 8i (8.1.7)
Machine I
1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
2. Installed OraOLEDB version 8.1.7.3 and OraMTS
3. Configured Oracle MTS Service with MTSSYS against the database.
4. MSDTC is up and running
5. Transactional components registered properly in COM+.
6. Contains MDAC 2.6 SP1
7. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
for MTXOCI - set OracleOciLib = oci.dll
          OracleSQLLib = orasql8.dll
          OracleXALib = oraclient8.dll
Machine II
1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
2. Installed OraOLEDB version 8.1.7.3 and OraMTS
3. MSDTC is up and running
4. Transactional components registered properly in COM+.
5. Contains MDAC 2.6 SP1
6. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
for MTXOCI - set OracleOciLib = oci.dll
          OracleSQLLib = orasql8.dll
          OracleXALib = oraclient8.dll
I have verified the database MTS_PROXY_INFO and the information seems to point to Machine I properly.
When I run the application on Machine I, things work OK, the component executes and performs its job
(just doing a transactional insert into a table is all). I try the same application on Machine II
and the application hangs and it waits forever in IDBInitialize->Initialize method, probably when trying to join a transaction. Here is a trace snippet
TID: eac (ENTRY) COracleSource::GetPropertyInfo(1, 0xb4f280, 0xb4f2e0, 0xb4f2e4, 0xb4f2d4)
TID: eac (EXIT) COracleSource::GetPropertyInfo(hr=0): 4240
TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
TID: eac (ENTRY) COracleSource::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
TID: eac (ENTRY) COracleSource::SetProperties(1, 0xa5630)
TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
TID: eac (ENTRY) COracleSource::SetProperties(1, 0xb4f148)
TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
TID: eac (ENTRY) COracleSource::Initialize()
TID: eac (EXIT) COracleSource::Initialize(hr=0): 231
TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
TID: eac (ENTRY) COracleSource::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
TID: eac (ENTRY) COracleSource::CreateSession(0x1cf32dc, 0x0, 0x0)
TID: eac (DTXN) COracleSession::FOraInit() - Session (194250c) created
TID: eac (EXIT) COracleSource::CreateSession(hr=0): 165
TID: eac (ENTRY) COracleSession::JoinTransaction(2030104, -1, 0, 0)
TID: eac (EXIT) COracleSession::JoinTransaction(hr=8004d00a): 139
I would appreciate any help in this matter. I need to get this running to go live.

Ganesh,
From the trace provided, it appears that the OraOLEDB had problems loading the OraMTS.DLL appropriately. Can you check to see if the OraMTS.DLL is in your %ORACLE_HOME%\bin and your PATH is set with %ORACLE_HOME%\bin included?
Another possibility is that an older version of OraMTS.DLL resides in your
%ORACLE_HOME%\bin. If you invoke "dumpbin /exports oramts.dll" at the DOS command line, one exported function should be called "OraMTSSvcEnlistEx". If you don't see this, then that means you should try reinstalling OraMTS 8.1.7 again.
Hope that helps.
- nari

Similar Messages

  • Oracle Services for MTS on multiple servers - does not work

    I am having problems with running transactional component (COM+) using Oracle Services for MTS.
    I've been through pretty much all the messages in this forum, and I believe that I have
    configured things correctly. Here are the details. Sorry for the long post. I wanted to give as much details as possible.
    Database - Oracle 8i (8.1.7)
    Machine I
    1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
    2. Installed OraOLEDB version 8.1.7.3 and OraMTS
    3. Configured Oracle MTS Service with MTSSYS against the database.
    4. MSDTC is up and running
    5. Transactional components registered properly in COM+.
    6. Contains MDAC 2.6 SP1
    7. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
    for MTXOCI - set OracleOciLib = oci.dll
    OracleSQLLib = orasql8.dll
    OracleXALib = oraclient8.dll
    Machine II
    1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
    2. Installed OraOLEDB version 8.1.7.3 and OraMTS
    3. MSDTC is up and running
    4. Transactional components registered properly in COM+.
    5. Contains MDAC 2.6 SP1
    6. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
    for MTXOCI - set OracleOciLib = oci.dll
    OracleSQLLib = orasql8.dll
    OracleXALib = oraclient8.dll
    I have verified the database MTS_PROXY_INFO and the information seems to point to Machine I properly.
    When I run the application on Machine I, things work OK, the component executes and performs its job
    (just doing a transactional insert into a table is all). I try the same application on Machine II
    and the application hangs and it waits forever in IDBInitialize->Initialize method, probably when trying to join a transaction. Here is a trace snippet
    TID: eac (ENTRY) COracleSource::GetPropertyInfo(1, 0xb4f280, 0xb4f2e0, 0xb4f2e4, 0xb4f2d4)
    TID: eac (EXIT) COracleSource::GetPropertyInfo(hr=0): 4240
    TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
    TID: eac (ENTRY) COracleSource::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
    TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
    TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
    TID: eac (ENTRY) COracleSource::SetProperties(1, 0xa5630)
    TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
    TID: eac (ENTRY) COracleSource::SetProperties(1, 0xb4f148)
    TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
    TID: eac (ENTRY) COracleSource::Initialize()
    TID: eac (EXIT) COracleSource::Initialize(hr=0): 231
    TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
    TID: eac (ENTRY) COracleSource::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
    TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
    TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
    TID: eac (ENTRY) COracleSource::CreateSession(0x1cf32dc, 0x0, 0x0)
    TID: eac (DTXN) COracleSession::FOraInit() - Session (194250c) created
    TID: eac (EXIT) COracleSource::CreateSession(hr=0): 165
    TID: eac (ENTRY) COracleSession::JoinTransaction(2030104, -1, 0, 0)
    TID: eac (EXIT) COracleSession::JoinTransaction(hr=8004d00a): 139
    I would appreciate any help in this matter. I need to get this running to go live.

    Hi.
    I have the same problem, one which works and another which don't (almost though).
    I got most of it to work by taking the mtsservices registry entry from the server that works and put it on to the other after i have made the service in Oracle management console for mts.
    Now i can search, delete, change but not make a new entry into the database.
    And thats where i'm stuck now.
    Hope it helps a bit..
    Michael
    Greenland

  • Installing Oracle Services for MTS (9.2) on a 8.1.7 Database

    Hello,
    I'm trying to run the script oramtsadmin.sql which comes with the Oracle Services for MTS 9.2 on a 8.1.7 database.
    When trying to compile the UTL_ORAMTS package I get the following error:
    The following error has occurred:
    PACKAGE BODY MTSSYS.UTL_ORAMTS
    On line: 0
    PLS-00908: The stored format of UTL_ORAMTS is not supported by this release
    Any idea where I can find a copy of this wrapped package that can be compiled on a 8.1.7 database ?
    thx,
    Piet Neyrinck

    I have the same problem. The documentation sayes that it will work with 8.1.7, but when I run the script I get the same error

  • How to get "Oracle Services for MTS" working?

    I've implemented the microsoft code example (see at the bottom) for the use of distributed transactions (with system.transactions and MTS support). The code works fine as long as I use only MS sqlserver.
    Well, I tried one connection to an oracle database and one connection to the sqlserver - and here the trouble starts ;-)
    Oracle doesn't care about the transaction. After the command is executed the changes are made to the oracle database at once (no commit has occured at that point) even if the second command isn't successfull.
    I suppose at the moment that the problem must be something around the interaction between MTS and oracle database, more precisly the oracle Services for MTS.
    I've installed the odp.net client (ODAC1020221.exe).
    The installer tells me that oracle data access components 10.2.0.2.21 and within the Oracle Services for MTS are installed.
    But I cannot find a service with that name in the service list, OracleMTSRecoveryService is listed, but I'm not sure if that's the right one.
    So here are my questions:
    What's the name for 'Oracle Services for MTS' in the services list?
    Do I have to install more than the odp.net client to get the MTS support running?
    Is there a mistake in the code I'm running?
    any help is welcome ...
    thanx in advance!!!
    And here's the code I'm working with:
    [Transaction(TransactionOption.RequiresNew)]
    public class Worker : ServicedComponent
    [AutoComplete]
    public void Test()
    using (TransactionScope scope = new TransactionScope(TransactionScopeOption.RequiresNew, new TimeSpan(0, 5, 0)))
    DbProviderFactory theFactory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
    using (DbConnection connection1 = theFactory.CreateConnection())
    try
    connection1.ConnectionString = ".........";
    connection1.Open();
    DbCommand command1 = theFactory.CreateCommand();
    command1.Connection = connection1;
    command1.CommandText = "Insert into user (name, surname,benoid) values ('hans','wurst','32315134512345')";
    object returnValue = command1.ExecuteNonQuery();
    using (SqlConnection connection2 = new SqlConnection("Data Source=localhost;Database=UserManagement;Trusted_Connection=true;"))
    try
    connection2.Open();
    //this command fails
    SqlCommand command2 = new SqlCommand("Insert into uuuu (name, vorname) values ('hans','wurst')", connection2);
    object retValue = command2.ExecuteNonQuery();
    catch (Exception ex)
    return;
    catch (Exception ex)
    return;
    scope.Complete();
    }

    hey what's up you figured out your problem with M$DTC/Oracle 11i with ODP.NET trying to do a TransactionScope?
    I saw your problem - and I ran into the same.
    Re: 10g Express + ODP.NET (version 2.111.6.20) > support TransactionScope?
    Trying to install "Oracle Services for MTS" not sure how but working on it now. Doc looks old however,
    http://www.oracle.com/technology/tech/windows/ora_mts/index.html
    Did you get pass this already?

  • I can't start Oracle Services for MTS

    Hello there, Oracle users!
    I am new here, as new to the Oracle technology. We are developping a
    software which must be transaction compliant, and we're on microsoft
    platform, and thatswy we're using sql2000 and microsoft transaction
    server for our application server components.
    But one of our clients wants to use oracle 8i db as the resource manager. We had to make the proper work mts with oracle. I've red all of the oracle documentation within this topic, and i successfully installed
    the Oracle Services for MTS on our development machine at the workplace.
    (created the mts_proxy_info table, granted the specific roles to a specific db user, the specific privileges, and so on), and
    it is working nicely, the log says "accepting new enlistment requests",
    everything is wonderful.
    But at the client, i repeated all of the steps (the only difference is,
    that they have the server on a HP-UX machine instead of winnt and i had not access to the oracle server, i just gived the sql script to the oracle dba guy there (maybe he missed something?)), and when i wanted to start the oracle services for MTS on the Application server, the log says this: "incorrect password, or username". I really don't
    undestand it, because i can connect through the OLEDB driver with the
    specified username, password and Service name. (in a datalink (udl), for example)
    If anybody had an idea i would be very happy
    thanks in advance,
    daniel szabo
    ps: the app server config is:
    nt 4.0 server
    sp 6
    option pack 2
    iis 4
    mts 2
    script host 5.5
    ie5

    Daniel,
    In pre-8.1.7.4.0 beta implementations, your application server e.g. IIS or MTX.EXE hosts MTS transactional components. When such components acquire OLEDB or ODBC connections to Oracle and external service setup for that database i.e. OracleMTSService<id> joins the MTS transaction on behalf of the Oracle database which quite often runs on a non-Windows platform e.g. Solaris. We restrict each database to have one and only such service. This brings in scalability and availability issues. In 8.1.7.4.0 we have embedded the transaction join and commit logic in the clientside dll. There is no OracleMTSService<id> for a given database. The only service needed is a recovery service one per Windows machine on which Oracle Svcs For MTS is installed. This service is automatically created on installation of the product and doesn't connect to the databases. Instead the involved databases connect to the service via HTTP to resolve any MTS-related transactions that are in-doubt.

  • How to install Oracle Services for MTS (9i)

    OK, I'm confused. I thought installing OraMTS components would be the same in 9i as in 10g.
    In 10g I load the universal installer, and Oracle Services for MTS is present as a tickable, installable option
    If I load the 9i installer (or point the 10g installer at the 9i stage directories) the option for Oracle Services for MTS just isnt there as a tickable option
    How did you guys with 9i get the installer to put MTS on? (oramts.dll and it's friends)

    From the base 9.2.0.1 media, start up OUI, choose Custom install type and tick Windows Interfaces (installs odbc, ole db, oramts, ...). If you have Metalink access, you may want to apply a patch set e.g. 9.2.0.7.
    You can get 9.2 ODAC (which also includes Oracle's .Net Data Provider), from http://www.oracle.com/technology/software/tech/windows/odpnet/utilsoft.html to install just the Windows Interfaces directly, or to upgrade these files in a patched Client (patch sets seems to not affect/update these dlls).

  • MSDTC, Vista, Oracle Services for MTS and TransactionScope

    Hi there,
    We're using .NET 2.0 TransactionScope on a Vista client. By default this will create a distributed transaction using MTS which will then be proxied using Oracle Services for MTS. However we consistently get the following error:
    ORA-00161: transaction branch length 100 is illegal (maximum allowed 64).
    According to this thread http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=943955&SiteID=1 Microsoft made some changes in MSDTC in Vista which are likely to have caused this problem. They say they were co-ordinating with Oracle to determine an appropriate fix.
    Is this an acknowledged issue? Has it been fixed and if not, when will it be fixed?
    Kind Regards,
    Dean Ward

    FYI, the following code reproduces the issue...
    using (TransactionScope txScope = new TransactionScope())
    using (OracleConnection oracleConnection = new OracleConnection("Data Source=Test;User Id=Test;Password=Test"))
    oracleConnection.Open();
    using (OracleCommand oracleCommand = new OracleCommand("SELECT 'Test' FROM Test", oracleConnection))
    oracleCommand.Connection = oracleConnection;
    using (OracleDataReader oracleDataReader = oracleCommand.ExecuteReader())
    while (oracleDataReader.Read())
    System.Console.WriteLine(oracleDataReader.GetString(0));
    txScope.Complete();
    }

  • HT1695 Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Okay, the Wi-Fi doesn't work.  Turn it on.
    Beyond that, we cannot offer any other assistance as you've failed to provide useful details of the problem.
    When responding, post in your native language as your English makes very little sense.

  • DT require Oracle9i client and Oracle Services for MTS software

    "Distributed Transactions require Oracle9i client and Oracle Services for Microsoft Transaction Server software."
    I get the error above when attempt to run a COM+ transaction accessing Oracle9i. I'd been checked the installation of Oracle9i and Oracle Services in the client computer and it is ok.
    I am using Windows Server 2003 and the database server is on another Windows Server 2003. The database is Oracle9i Enterprise Edition.
    At Stanford's web site (http://www.stanford.edu/dept/itss/docs/oracle/9i/win.920/a95496/ch1.htm#1079911) I found Oracle's documentation that explains this, but it didn't worked for me.
    Oracle Services is installed in both machines.
    The Oracle MTS Recovery Service is running.
    The COM+ component is registered.
    When I use the same component with SQL Server 2005 beta 2 it works fine. What else do I need to do?
    Thanks in advance.
    Caio Pereira

    Hi.
    I have the same problem, one which works and another which don't (almost though).
    I got most of it to work by taking the mtsservices registry entry from the server that works and put it on to the other after i have made the service in Oracle management console for mts.
    Now i can search, delete, change but not make a new entry into the database.
    And thats where i'm stuck now.
    Hope it helps a bit..
    Michael
    Greenland

  • Check for Rentals on Apple TV does not work

    I have rented many movies in the past using Apple TV. I have not had a problem until now, right after I just updated my Apple TV software to the latest software v6.0 (6646.65).
    Last night (9/28) I rented World War Z. Roughly 20 minutes into the movie, I stopped the move by hitting the menu button. This exited me from the movie and back to the movies rentals screen.  I then rented another movie only a few minutes after exiting the first. I had no problem renting the second movie as I did not exit the movie once the streaming started.
    A few hours later I went back to watch the move by selecting the movie.  The rental option was still availabe. By selecting to rent the movie again and then selecting "Rent and watch now", the system told me I had already rented the movie and I should go to Settings->Downloads->Check for Downloads.  This options does NOT exist in the settings menu; however, I found a similar option under iTunes Store->Check for Rentals.
    This "Check for Rentals" option does absolutely nothing - or it doesn't show anything if it is doing something behind the scenes.  It just shows the spinning lines. I waited all night for something to happen. I restarted my router and modem to make sure there was nothing wrong with networking. Again, I had just watched another movie all the way through with no problems. I sent Apple Support an email with my issue and they refunded my $4.99 for the movie rental.
    So, tonight (9/29), I still wanted to watch the movie and I wanted to see if it would work. I went to the movie, selected to rent the movie and it gave me an optionsaying that I had already rented the movie and asking me if I wanted to rent it again. I selected to rent it again.  I was able to watch the movie all the way through with no problem. 
    I ended the movie during the credits by hitting the menu button. I immediately went back to the movie to see if I could continue the movie since I should be able to watch this movie in the next 24 hours.  The same situation happened again. I was told I could not rent the movie again, but to go to Settings->Download->Check for downloads. The "Check for Rentals" is doing the same thing.
    So, my question is how do I fix this or is there even a fix for this situation?  If I can't watch a movie without the fear of exiting the movie for whatever reason and not be able to return to the rented movie, I will not continue to rent movies from Apple TV. I enjoy renting them through Apple TV, but I definitely have multiple options (i.e. XBox Live, PS Network/Amazon, Redbox, etc.).  I really want to understand why this is happening and if it's going to be fixed.
    Thank you for any feedback!

    I have been working on this project for just one day.  Other people have suggested logging out and then logging back in.  I have had sucsess with this sollution today.
    Check this thread as well.
    https://discussions.apple.com/thread/5360214?start=0&tstart=0

  • Oracle Database Express Edition 11g Release 2: Does not work in Windows x64

    Hi
    I download a year ago oracle 10g and installed in windows7/64bit.
    Then I messed up my computer. So I had to reinstall from scratch.
    oracle 10g seems to be not available anymore.
    Now 11g is available. But it says does not work in x64.
    Can somebody explain this?
    Thanks
    Beat

    Hi, and welcome to the OTN forums!
    I download a year ago oracle 10g and installed in windows7/64bit.
    Now 11g is available. But it says does not work in x64.Well, in fact, 10.2 XE wasn't certified for x64 either, not even for Linux x64...
    11.2 XE has a Linux x86_64 release, and there has been an announcement that there'll be a x64 release for Windows as well, but it's not available (yet).
    There have been a lot of reports that people got 11.2 XE work on x64 Windows machines as well, with a few tweaks at installation time and/or afterwards...
    You'll find tons of posts on that topic when using forum search...
    oracle 10g seems to be not available anymore.Right, the official downloads have been removed after all database 10.2 releases fell out of (regular) support.
    -Udo
    Edited by: Udo on 15.04.2013 21:48

  • Hp 6700 option to scan to single file or multiple files does not work-scans to single files only

    Cannot find a way  to scan multiple documents to a single file.  The option on the Scan function does not work!

    Hi @apdamw 
    Have you tried saving the scanned pages as a PDF? When you choose PDF in the format option, you will see the option to choose save all pages to a single file, or create a seperate file for each scanned page. Depending on what option you see, you will need to tick or untick the option.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Tree Multiple Selection does not work ???

    Hello, while migrating my application from Flex 1.5 to Flex
    2, I had the disgreement to discover that multiple selection in
    tree does not work anymore.
    I event tried the basic example found in Flex documentation
    (see below), which does not work
    Please, I need this feature in my application ! How can I do
    ? Is it normal ?
    Thanks

    Multiple selection in the tree was removed for the General
    release.. I am sure they plan to put it back as soon as possible.
    Tracy

  • Oracle Service Bus 11g omit-xml-declaration="yes" not working in XSL-T

    I have the requirement of removing the XML header from xsl output.
    eg: <?xml version="1.0" encoding="UTF-8" ?> this part has to removed
    I tried using the following in XSLT:
    <xsl:output indent="yes" omit-xml-declaration="yes" />.
    It seems to work in all online xml compilers. It does not work in work in OSB.
    I posted the message in a JMS Queue and it contains the xml header.
    Is this a work around for this issue?

    I'm pretty sure XSLT has nothing to do with that PI.
    After all, XSLT in OSB doesn't format text, it generates an XmlObject. The formatting (including adding the <?xml?> PI) are done by other parts of the engine. Probably the XmlBeans serializator.
    The only option I see is to serialize the XML, then cut off everything until first ?>.
    Why would you need that, I wonder? May be there is a better way.
    Vlad @ genericparallel.com

  • I am able to login to the Web, but when attempt to run the installer, it ask for a password and it does not work the password I used to login in the web.

    I am new to Adobe Cloud, received the invitation from Adobe, create my account and I am able to login to the web. When Attempted to download Photoshop desktop, I was asked for Name and Password, the name was populated but I have to enter the password. I am using the password I entered at registration but it does not work and the Installer does not run.
    I have a MacBook Pro with OS version 10.9.3.
    Thanks,
    Carlos

    I figured out, the Installer need the username and password for the computer OS.

Maybe you are looking for