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&...]