Threads blocked accessing the Hibernate SequenceHiLoGenerator in JBoss EAP

Solution Verified - Updated -

Issue

Several threads are blocked on org.hibernate.id.SequenceHiLoGenerator.generate

...
   java.lang.Thread.State: BLOCKED (on object monitor)
        at org.hibernate.id.SequenceHiLoGenerator.generate(SequenceHiLoGenerator.java:69)
        - waiting to lock <0x0000000999999999> (a org.hibernate.id.SequenceHiLoGenerator)
        ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6
  • Hibernate 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content