Yes, it turns out that HornetQ page-size is not set in AS7.1.Final by default, which it should have. If page-size is not set for BLOCK policy, it will cause dead-lock after approx 30 persisted messages.

If you add this to jboss messaging sub-system configuration, it'll work fine.

<page-size-bytes>1048576</page-size-bytes>  <== lack of page-size is root cause

Issues updated:


On Feb 28, 2012, at 11:07 PM, Jason Porter wrote:

Did you get this sorted out on JIRA?

On Tue, Feb 28, 2012 at 07:45, Ove Ranheim <> wrote:

I have identified a deadlock situation with JBoss 7.1.0 Final and HornetQ.

Please check out:

Could this be related to Seam JMS?


seam-dev mailing list

Jason Porter

Software Engineer
Open Source Advocate
Author of Seam Catch - Next Generation Java Exception Handling

PGP key id: 926CCFF5
PGP key available at:,