Concurrency Issue

View: New views
2 Messages — Rating Filter:   Alert me  

Concurrency Issue

by Vasantha Rapuru :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am not sure if this is the right forum to post my issue. Any pointers in solving this issue will be of great help.
 
We are facing one issue when two concurrent users are trying to insert different set of records in single table.
The error code we are getting is “ISAM error: Key Value locked”.
Please let me know if any one knows how to resolve this issue.

Regards,

Vasantha
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Re: Concurrency Issue

by Ellis Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sounds like a locking/PK constraint issue on the database side - 2 users trying to insert into table yet ibatis is trying to manage the database integrity, especially in case of ibatis handling any database sequences (know on JBoss side this can be an issue).

I would test dropping/disabling the PK constraint on the database table being inserted into and see if 2 concurrent users can then insert the "different set of records" without error. This should at least help answer the question.

On Fri, Jun 26, 2009 at 2:04 AM, Vasantha Rapuru <Vasantha_Rapuru@...> wrote:
Hi,

I am not sure if this is the right forum to post my issue. Any pointers in solving this issue will be of great help.
 
We are facing one issue when two concurrent users are trying to insert different set of records in single table.
The error code we are getting is “ISAM error: Key Value locked”.
Please let me know if any one knows how to resolve this issue.

Regards,

Vasantha
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***