Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » 2 hibernate machines against one database machine(an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session))
2 hibernate machines against one database machine [message #718795] Thu, 25 August 2011 11:25 Go to next message
Lars Gustafsson is currently offline Lars GustafssonFriend
Messages: 19
Registered: June 2010
Junior Member
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.)
Re: 2 hibernate machines against one database machine [message #718886 is a reply to message #718795] Thu, 25 August 2011 14:52 Go to previous messageGo to next message
Lars Gustafsson is currently offline Lars GustafssonFriend
Messages: 19
Registered: June 2010
Junior Member
Do you have to buy Terracotta or is it easy to set up a distributed ehcache?
(no subject) [message #718889 is a reply to message #718795] Thu, 25 August 2011 14:52 Go to previous messageGo to next message
Lars Gustafsson is currently offline Lars GustafssonFriend
Messages: 19
Registered: June 2010
Junior Member
Do you have to buy Terracotta or is it easy to set up a distributed ehcache?
Re: (no subject) [message #718901 is a reply to message #718889] Thu, 25 August 2011 15:25 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1039
Registered: July 2009
Senior Member
Unless you are going to try EclipseLink as the JPA provider instead of Hibernate, you might be better off posting to a hibernate forum.

Best Regards,
Chris
Previous Topic:(no subject)
Next Topic:[Solved] How can I set the defaultRowPrefetch size on the datasource?
Goto Forum:
  


Current Time: Thu Dec 18 16:36:56 GMT 2014

Powered by FUDForum. Page generated in 0.01882 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software