[jboss-user] [JBoss Cache] - jboss cache as hibernate 2nd level - cluster node doesn't persist replicated data

Sergey Graschenko do-not-reply at jboss.com
Fri Jun 11 08:27:03 EDT 2010


Sergey Graschenko [http://community.jboss.org/people/Sintetik7] replied to the discussion

"jboss cache as hibernate 2nd level - cluster node doesn't persist replicated data"

To view the discussion, visit: http://community.jboss.org/message/547555#547555

--------------------------------------------------------------
> JBoss Cache 2LC for Hibernate that's also configured with a cache store  of its own?

Not exactly. What I'm trying to do is to have 2 servers with JBoss Cache as 2LC on every of them, no any "extra" cache store. And I have cache instance binded to database "db1" on the 1st server and binded to database "db2" on the second server. Schema is the same.

Configuration boots up with no any error messages.

Then I succedeed in storing the record (entity) in the first server - it is _stored in the cache_ AND _persisted in db1_. Cached record then propagates to the second node, so basically it is _accessible_ from the second server but only up to the point when it is evicted. After that, second server misses the cache and can't find the record (entity) in database "db2".

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/547555#547555]

Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100611/aa1a648e/attachment-0001.html 


More information about the jboss-user mailing list