-
Database dead lock in Sql Server (2 messages)
- Posted by: nuthan kumar an
- Posted on: October 02 2006 17:19 EDT
Hi , I am getting database dead lock exception in my java application (SQL server)when ever the load/number of hits increases on the server. 1) I am using microsoft SQL Server 2003. 2) netforge drivers 3) Jboss application server I am getting following exception "Caused by: java.sql.SQLException: Transaction (Process ID 70) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction." I read several articles on the dead lock and verfied my java code and database configuration such as indexes looks everything right.Threaded Messages (2)
- Re: Database dead lock in Sql Server by Bhagvan Kommadi on October 02 2006 21:14 EDT
- Re: Database dead lock in Sql Server by arijit dey on October 02 2006 23:18 EDT
-
Re: Database dead lock in Sql Server[ Go to top ]
- Posted by: Bhagvan Kommadi
- Posted on: October 02 2006 21:14 EDT
- in response to nuthan kumar an
interesting article on sqlserver : avoiding deadlocks - http://www.sql-server-performance.com/deadlocks.asp http://www.rampant-books.com/t_hpsdba_44_deadlocks_design_issues.htm http://msdn2.microsoft.com/en-us/library/ms190465.aspx If you are using entity beans in jboss: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch5.chapter.html#ch5.entitylock.sect Bhagvan K http://www.jroller.com/page/bhagvank -
Re: Database dead lock in Sql Server[ Go to top ]
- Posted by: arijit dey
- Posted on: October 02 2006 23:18 EDT
- in response to Bhagvan Kommadi
At first, I thought of writing a long essay describing the deadlock situation but the resources that you refered are very much suffient.Thank you for saving my time.Keep It up. cheers, http://javaicillusion.blogspot.com/