• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Lock Exception while executing ejb.remove()

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
I get the following exception while doing remove of an Stateful Session Bean. This stateful session bean does an SQL query on a table and the connection used by it has the isolation level set to the lowest . Can anybody help me out with this ???
<EJB Exception in method: remove: weblogic.ejb20.locks.LockTimedOutException: The lock request from EJB:TradeDateDetail with primary key:30,385,776,927,703,051 timed-out after waiting 0 ms. The transaction or thread requesting the lock was:Thread[ExecuteThread: '11' for queue: 'default',5,Thread Group for Queue: 'default'].
weblogic.ejb20.locks.LockTimedOutException: The lock request from EJB:TradeDateDetail with primary key:30,385,776,927,703,051 timed-out after waiting 0 ms. The transaction or thread requesting the lock was:Thread[ExecuteThread: '11' for queue: 'default',5,Thread Group for Queue: 'default'].
at weblogic.ejb20.locks.ExclusiveLockManager$LockBucket.lock(ExclusiveLockManager.java:448)
at weblogic.ejb20.locks.ExclusiveLockManager.lock(ExclusiveLockManager.java:258)
at weblogic.ejb20.manager.StatefulSessionManager.acquireLock(StatefulSessionManager.java:226)
at weblogic.ejb20.manager.StatefulSessionManager.acquireLock(StatefulSessionManager.java:216)
at weblogic.ejb20.manager.StatefulSessionManager.preInvoke(StatefulSessionManager.java:313)
at weblogic.ejb20.manager.StatefulSessionManager.remove(StatefulSessionManager.java:811)
at weblogic.ejb20.internal.StatefulEJBObject.remove(StatefulEJBObject.java:93)
at com....TradeDateDetailBean_c3ov9r_EOImpl.remove(TradeDateDetailBean_c3ov9r_EOImpl.java:67)
.......
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which Weblogic version are you on ?
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
same issue here. I am using weblogic 9.*
 
reply
    Bookmark Topic Watch Topic
  • New Topic