473,651 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1733
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.goo gle.com...
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
3839
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 application in the title bar. For example, the user starts the application, and the title bar says "Control Panel". The user starts another instance of the application, and it knows that one instance is already running, so the title bar of the...
11
8511
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 my server program written in python it simply hangs.it does not show any error also.I've tried sample programs available .I don understand what the reason is as i am quite new to it. here is teh server side program: ///////////////////////
1
7775
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 the requests. The problem is that the client hangs at the WriteFile request when running under load. All the processes are running on the same box. I am wondering if there is something I am doing wrong fundamentally. One thing I am doing that...
11
2760
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 other. On my application startup, I configure the objects usting the RemotingConfiguration class to load the config file. Then I "ping" each of the objects to call their constructors. This all works fine if no one is attempting to connect at the...
3
2799
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 my application: - connectivity to a SQL database - multiple users running synchronously. - crystal reports
6
5291
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 = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem); oMail.HTMLBody = "SOME HTML TEXT HERE"; oMail.Display(oApp); oMail.Close(Outlook.OlInspectorClose.olDiscard);
5
2300
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 time ago, following the advice in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/codecompilation.asp, I used aspnet_compiler.exe to compile my application. Soon thereafter, every
12
5862
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 FolderBrowserDialog and nothing else. When I start the application and hit EXIT everything works fine. However if it display the FBD box (even if I don't pick a folder and immediately hit cancel) and then try to exit one of two things happens. Either (1) the...
0
1648
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 = xmlrpclib.Server("http://10.10.101.62:29500") print server.Connection_Request("roberto") the Python command line 'hangs' until I kill the server. Then, the correct output is suddenly displayed:
0
8695
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8460
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7296
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.