Requirement for graceful shutdown with outbox-polling strategy

Ok, so this is actually your problem:

hibernate-core-5.4.32.Final

You’re using Hibernate ORM 5.4, which:

  1. Is old and (as far as I know) no longer maintained
  2. Is affected by [HHH-14541] - Hibernate JIRA. In essence, this bug leads Hibernate ORMs to stop before even telling Hibernate Search it needs to shut down, resulting in those errors.

There’s no workaround on the Hibernate Search side, your only solution is to either live with those errors (they’re not critical, as long as they happen only on shutdown), or upgrade to Hibernate ORM 5.6 (or, better, 6.2; but that’s probably more work).

1 Like