-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: 2 hibernate machines against one database machine
PostPosted: Thu Aug 25, 2011 6:32 am 
Newbie

Joined: Tue Aug 31, 2010 5:00 pm
Posts: 8
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.)


Top
 Profile  
 
 Post subject: Re: 2 hibernate machines against one database machine
PostPosted: Thu Aug 25, 2011 10:43 am 
Newbie

Joined: Tue Aug 31, 2010 5:00 pm
Posts: 8
Do you have to buy Terracotta or is it easy to set up a distributed ehcache?


Top
 Profile  
 
 Post subject: Re: 2 hibernate machines against one database machine
PostPosted: Mon Aug 29, 2011 11:39 am 
Newbie

Joined: Sun Mar 13, 2011 5:37 am
Posts: 3
I am seeing a very similar error when trying to connect to a virtualized database (a type of mysql cloud db). Maybe I need to use a different connector? I'm pretty new to working with the cloud, so I hope anyone could help or point me in the right direction (or to the right thread). Thanks, M


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.