This discussion is archived
4 Replies Latest reply: Oct 5, 2011 7:58 AM by gimbal2 RSS

2 hibernate machines against one database machine

856371 Newbie
Currently Being Moderated
Hibernate version: 3.3.1.GA
I have 2 separate versions of the Jetty servlet engine running on 2 different physical machines, working against one mysql database server machine.
I get loads of exceptions on both machines saying "an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)".
Do you have to use a distributed cache setup here? How does that work? (Also, We're using ehcache version 3.3.1.GA.)


  • Correct Answers - 10 points
  • Helpful Answers - 5 points