Get your CodeRanch badge!*
The moose likes JDBC and the fly likes Dead lock Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Dead lock" Watch "Dead lock" New topic
Author

Dead lock

punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
Hi Al,,

i am getting below erro in my code . may i knowthe root cause of this problem

[2006-12-05 14:49:10,008] WebContainer : 1 testLogger ERROR - [SELECT * from EMP' FOR FETCH ONLY ] com.ibm.db2.jcc.b.SqlException: UNSUCCESSFUL EXECUTION CAUSED BY DEADLOCK OR TIMEOUT. REASON CODE 00C9008E, TYPE OF RESOURCE 00000302, AND RESOURCE NAME DFCID001.TSCICAPD.X'000002'
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29230
    
135

Punna,
A deadlock occurs when two threads are waiting on each other and neither can continue. It's hard to say the root cause without more information.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dead lock
 
Similar Threads
resource-ref and resource-env-ref
image resizing
Urgent: Please Help!! Ways to cast String to Resource (org.springframework.core.io.Resource)
spring context loader
How to determine the current path of the classloader