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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Dead lock" Watch "Dead lock" New topic

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

Joined: May 26, 2003
Posts: 30075

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
subject: Dead lock
Similar Threads
image resizing
How to determine the current path of the classloader
resource-ref and resource-env-ref
spring context loader
Urgent: Please Help!! Ways to cast String to Resource (org.springframework.core.io.Resource)