473,405 Members | 2,262 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,405 software developers and data experts.

Application hangs while symultaneously running two instances of client on DB2

I am facing one problem w.r.t DB2,

When i launch my first instance of my client exe.
(written using Delphi 7)
and perform an action on Table A. (one of the row is in Transaction mode)
waits for response from say 5 mins.

Depending upon response system will commit/Rollback transaction.

In this situation, Symultaneously if i launch my second instance of same
client and try to read-only access of Table

A, System will simply haungs until first one gets commited.

Is any body help me to overcome this problem?
I cannot use setting of locktimeout property, because in first instatnce
i need to wait till i get any sort of response.
One DB2 Interface program which calls internally.)

For second instance of my client should works like normal application
without delay.
My question is how to share those uncommited rows across the user.
(Read only access for other delphi instances)
Thanks
Vidyaranya MV
Nov 12 '05 #1
1 1718
Either commit (first instance) or use dirty read (second instance).
Otherwise, consistency considerations require the current behaviour.

"Vidyaranya" <vi***********@hotmail.com> wrote in message
news:9a**************************@posting.google.c om...
I am facing one problem w.r.t DB2,

When i launch my first instance of my client exe.
(written using Delphi 7)
and perform an action on Table A. (one of the row is in Transaction mode)
waits for response from say 5 mins.

Depending upon response system will commit/Rollback transaction.

In this situation, Symultaneously if i launch my second instance of same
client and try to read-only access of Table

A, System will simply haungs until first one gets commited.

Is any body help me to overcome this problem?
I cannot use setting of locktimeout property, because in first instatnce
i need to wait till i get any sort of response.
One DB2 Interface program which calls internally.)

For second instance of my client should works like normal application
without delay.
My question is how to share those uncommited rows across the user.
(Read only access for other delphi instances)
Thanks
Vidyaranya MV

Nov 12 '05 #2

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

Similar topics

5
by: Mark Fisher | last post by:
I have a Java desktop GUI application that the user can run multiple times. In order to keep one instance of the application distinct from another, I'd like to put the instance number of the...
11
by: anuradha.k.r | last post by:
hi, i am writing a socket program in python,both client side and server side.I've written the client side which is working perfectly fine(checked it against server program written in C).but as for...
1
by: AckMike | last post by:
I am trying to write client and server programs that communicate with named pipes. There is one multithreaded server that handles all of the requests and multiple multithread clients that make...
11
by: Timothy Shih | last post by:
Hi, I am having a freezing issue with my application. My application serves several remotable objects, all of which must be initialized before their use. Furthermore, some of them depend on each...
3
by: Hans [DiaGraphIT] | last post by:
Hi! I wounder if it is possible for my windows based application to be moved out on a win 2003 server and to be executable from there? (Perhaps in a terminal service environment) Features of...
6
by: Max | last post by:
I have the following code on a form that launches Microsoft Outlook and creates a new email message for the user: Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem oMail...
5
by: Loane Sharp | last post by:
Hi there I've got a hang of a problem ... I'm running the .NET framework (2.0.40903), SQL Server 2000 and SQL Express 2005 on Windows XP Pro on a pretty good and new IBM Thinkpad X41. Some...
12
by: JohnR | last post by:
I have narrowed a problem down to a simple example. A form with two buttons. One EXIT and one FBD. The exit button does an "END" to end the application. The FBD button does a...
0
by: Arno Stienen | last post by:
Perhaps I should be a bit more specific. When using this code to connect to a remote XML-RPC server (C++, xmlrpc++0.7 library): import xmlrpclib server =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.