Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

2 hibernate machines against one database machine

856371Aug 25 2011 — edited Oct 5 2011
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.)

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 2 2011
Added on Aug 25 2011
4 comments
197 views