Getting javax.persistence.LockTimeoutException errors on several entities on JBoss EAP 6

Solution Verified - Updated -

Issue

  • We have recently upgraded our system from JBoss 4.2.2 to JBoss 6.4. Production produces below errors on several entities:
javax.persistence.LockTimeoutException
  • We used to work find with JBoss 4.2.2 & Hibernate 3.x. We are not sure our DataSource timeout configuration is correct. It looks like the issue is caused generally everywhere. We could not replicate on our dev environment, possibly since we could not replicate as much traffic as production's.
  • We see a rise in errors when we run our own Bulk Processors which take care of large sets of data to process.We need to resolve this in 2 days since we are already late with our monthly business reconciliation.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4.0
  • Hibernate

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.