473,395 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Distributed transactions and Oracle RAC load balancing problems - advice needed!

During deployment of an application using distributed transactions managed
under COM+ on an Oracle 9i RAC database, we encounter situations where the
load balancing mechanisms in the RAC result in that the component context in
the distributed transaction (in our case two different COM components)
cannot hold onto the same ODBC connection. Or it may be that the database
session is changed dynamically for the ODBC connection, so that component 2
in the transaction cannot read updates made by component 1 in the
transaction.

Originally we use MS ODBC driver for Oracle (2.573.9030.00) , and Oracle XA
(9.2.0.1.0). We have investigated Oracle's ODBC driver (9.02.00) ,
EasySoft's ODBC driver and DataDirect's ODBC driver to find if any of these
can ensure that the same session is held for the connection during the
entire lifetime of the transaction. It seems that BEA with WebLogic has
solved the solution with their JDBC connection pool configuration (parameter
KeepXAConnTillTXComplete).

Has anyone else run into this problem and found a solution or work-around?
According to Oracle's promo documents no application changes should be
needed for using the RAC option.

Br,

Eirik
Jul 19 '05 #1
1 8174
Eirik Tryggeseth wrote:
During deployment of an application using distributed transactions managed
under COM+ on an Oracle 9i RAC database, we encounter situations where the
load balancing mechanisms in the RAC result in that the component context
in the distributed transaction (in our case two different COM components)
cannot hold onto the same ODBC connection. Or it may be that the database
session is changed dynamically for the ODBC connection, so that component
2 in the transaction cannot read updates made by component 1 in the
transaction.

Originally we use MS ODBC driver for Oracle (2.573.9030.00) , and Oracle
XA
(9.2.0.1.0). We have investigated Oracle's ODBC driver (9.02.00) ,
EasySoft's ODBC driver and DataDirect's ODBC driver to find if any of
these can ensure that the same session is held for the connection during
the entire lifetime of the transaction. It seems that BEA with WebLogic
has solved the solution with their JDBC connection pool configuration
(parameter KeepXAConnTillTXComplete).

Has anyone else run into this problem and found a solution or work-around?
According to Oracle's promo documents no application changes should be
needed for using the RAC option.


My God, you didn't actually *believe* those promo documents, did you?????!

Sorry, but that's just a bit naiive.

ODBC does not failover properly in a RAC environment without a lot of
handholding, at least in my (somewhat limited, admittedly) experience.
Meaning that the very idea of running an ODBC app on RAC is... well, the
word "brave" comes to mind.

So... good luck, basically. I hope you get the technical help you need from
elsewhere on this group, but I wouldn't be holding my breath.

Regards
HJR

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jayPLEASEtylerNOwilliamsSPAM | last post by:
Hi, I set up PHP 4.xx using Apache 1.3 on Windows XP to begin a project. The project now needs to be moved to a real test box. Admittedly, I am not quite sure how I was able to access Oracle on my...
0
by: Constandinos Mavromoustakis | last post by:
CFP: CLADE 2004-Challenges of Large Applications in Distributed Environments ------------------------------------------------- PhD student - Dept.Informatics at Aristotle University of...
7
by: Prashanth | last post by:
Hi, We are facing some issues in COM+ deployment. We get system error "Unable to enlist in a distributed transaction" . It has a very inconsistant behaviour. On refreshing the screens couple of...
2
by: yagish | last post by:
Hi Techies, Am really new with the Oracle 9i Forms and am searching for a way to perform Load Balancing in Oracle 9i Forms Application. Its not a J2EE application, so cannot go the OC4J way. I...
7
by: Richard Maher | last post by:
Hi, I am seeking the help of volunteers to test some software that I've developed which facilitates distributed two-phase commit transactions, encompassing any resource manager (e.g. SQL/Server...
1
by: Rick | last post by:
I'm having problems with EnterpriseServices transactions running against Oracle 9iR2. I am inconsistently getting Oracle ORA-24761: Transaction Rolled Back results mid-transaction. If I start...
0
by: HK | last post by:
I'm wanting to get rid of a hardware load balancer and just use the Windows 2003 software load balancing with 2003 Server Web Edition. I'm wondering if anyone here uploads ASP.NET code to 2 or...
4
by: Ronald Green | last post by:
Hi, I have this theoretical problem: Say that I need a chat server that also has a database where it saves all conversations. However, I need several servers for availability and load balancing....
1
by: Eirik Tryggeseth | last post by:
During deployment of an application using distributed transactions managed under COM+ on an Oracle 9i RAC database, we encounter situations where the load balancing mechanisms in the RAC result in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.