Hi Bela,

thanks for the prompt reply again.

We have been working from the online reference manual.

I quote section 9.2

"
RpcDelegatingCacheLoader, which allows to load/store to/from a remote (in a 
different VM) TreeCache using JGroups' RPC mechanism. The remote TreeCache 
delegated to is the CacheLoader's cache's coordinator (the first cache in the 
cluster). This CacheLoader is available since JBossCache version 1.2.1.
"

We wanted to synchronise all memory caches in the cluster on startup and that 
was the reason we used this cacheloader. We have a single database for all 
nodes and so synchronising from memory seems sensible.

At a higher level, having spent alot of time on this now to unfortunately no 
avail, I would love it if someone could say something like:

To use treecache as a distributed replicated transactional cache as the second 
level cache in Hibernate do the following:

A) Hibernate config xml file example

especially the transaction service to use section

B) treecache.xml example

especially the cacheloader configuration.

C) JBoss Service example

especially the relevant transaction manager section.

D) datasource-ds.xml example

ie, do we need an XADatasource or not.


This might be a bit much to ask, but I really think an example would help SO 
much. Putting it up on the wiki even would be great. I think our requirements 
are VERY common usage of JBoss Cache/Hibernate, ie single database, multiple 
J2EE servers. This is the idea of J2EE servers - cluster them at a lower cost 
rather than multiple instances of an expensive database. We don't normally need 
hand holding on this stuff. We have a team of JBoss experts and our product 
currently runs on a cluster of 10 solaris boxes with combined 100 gigs of ram. 
We have spent a good amount of time on this and really do thank you so much if 
you can clear it up for us.

thanks again,
Binario

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885875#3885875

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885875


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to