• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stateful session EJB lock timeouts - WKS 6.1  RSS feed

Marquess Lewis
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our system uses a stateful session ejb to handle some processes. A handle to this ejb is kept in the servlet session as the user goes about their work. Under some condition on our production systems we get the following:
weblogic.ejb20.locks.LockTimedOutException: The lock request from EJB:BlahBlahBlah with primary key:32,427,363,862,059,773 timed-out after waiting 0 ms
This EJB is our stateful session EJB. We have not been able to duplication this on our QA or dev environment during stress testing.
I'm looking for ideas:
- why is the lock acquisition failing - no users or processes are sharing this stateful bean. Again, each user gets their own ssejb.
- any ideas for work-arounds
Re-writing the process to be stateless is not a short term option, but one we would consider.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!