Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  Buy Now
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xing Tian Tai Ltd. of Beijing City (abbr, HXTT)

Thread conflicts
Paul Hall
2008-09-03 13:03:36.0
I recently implemented lockType=VFP in my ColdFusion system that uses your DBF driver. This seemed to clear up most of the thread conflicts I was seeing. However, today we once again found a thread conflict (see below).

It looks as if it might be a table the driver is accessing that is not adhering to the lockType = VFP setting. The challenge seems to be specifically when two users run queries very close to the same time, especially if one table is doing an update.

Do you have any suggestions how we can prevent this Thread conflict?

The queries shown here were run within seconds of one another. One operation seems to be accessing an "i" resource that the other operation has already opened, the other operation then tries to access an "at" resource that the first thread is using (the log entries are output from Fusion Reactor):

Thread ID: 0xbb (187)
Thread Name: jrpp-24
Priority: 5
Hashcode: 14951475

"jrpp-24" prio=5 waiting for monitor entry

- waiting on <0xb5e5d7> (a com.hxtt.sql.dbf.i held by thread 186, jrpp-23)

Thread ID: 0xba (186)
Thread Name: jrpp-23
Priority: 5
Hashcode: 29078772

"jrpp-23" prio=5 waiting for monitor entry
- waiting on <0xa329dc> (a held by thread 187, jrpp-24)

Thanks for your help.
Re:Thread conflicts
HXTT Support
2008-09-03 18:01:49.0
>Do you have any suggestions how we can prevent this Thread conflict?
Thanks for your order. Please download the latest package.

Re:Re:Thread conflicts
Paul Hall
2008-09-04 12:34:37.0
I downloaded and installed the latest release of your DBFv4.1 driver.

The thread conflict is still occuring. Why is it happening? How can I prevent it?

Paul Hall
Re:Re:Re:Thread conflicts
HXTT Support
2008-09-04 16:17:10.0
Please send us the detailed block error stack report.

Search Key   Search by Last 50 Questions


Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap