Closed Thread
Results 1 to 2 of 2

Thread: MS-SQL deadlock and hang the Java application

  1. #1
    reachpradeep's Avatar
    reachpradeep is offline Learning Programmer
    Join Date
    Mar 2007
    Location
    India
    Posts
    41
    Rep Power
    0

    MS-SQL deadlock and hang the Java application

    Hi.. We have a java application which connect to our MS-SQL DB during midnight using JDBC connector and extract information. But very often ,the java applicatian halted and because of the deadlock as shown below.

    Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Transaction (Process ID 54) was deadlocked o n lock resources with another process and has been chosen as the deadlock victim.

    now the java programmer is blaming me that the MS SQL DB is having deadlock and cause their Java application to hang.

    Is there any way to clear the deadlock before the the Java applcation run or how to prove the Java application script itself is having problem and causing the deadlock ?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Jordan Guest
    The java application may very well have caused the deadlock. If it was trying to obtain the same record that another resource was trying to obtain this deadlock would be caused.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Java application using RMI.
    By newou in forum Java Help
    Replies: 3
    Last Post: 12-25-2010, 11:33 PM
  2. Hang Man Game
    By darkcast in forum Visual Basic Programming
    Replies: 1
    Last Post: 04-08-2010, 12:55 AM
  3. Java application help
    By hoku_2000 _99 in forum Java Help
    Replies: 2
    Last Post: 02-14-2009, 04:15 PM
  4. Java gui application
    By fcojavierperez in forum Java Help
    Replies: 8
    Last Post: 10-05-2008, 07:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts