[JBoss-user] [JBossCache] - Re: My two nodes won't stop arguing.

2005-07-21 Thread jameselliot
Tracking it down a bit further with a couple more alterations.  It now appears 
as if they sort of hook up, but not quite.

The first server to start says:


  | 2005-07-21 15:27:34,415 INFO  [org.jboss.cache.TreeCache] locking the tree 
to obtain transient state
  | 2005-07-21 15:27:34,422 INFO  [org.jboss.cache.TreeCache] returning the 
transient state (24213 bytes)
  | 

While the second server to start says:


  | ---
  | GMS: address is 10.0.10.10:32818
  | ---
  | 2005-07-21 15:25:42,824 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
new members: [10.0.10.50:32807, 10.0.10.10:32768, 10.0.10.10:32771, 
10.0.10.10:32774, 10.0.10.10:32777, 10.0.10.10:32780, 10.0.10.10:32781, 
10.0.10.10:32782, 10.0.10.10:32783, 10.0.10.10:32784, 10.0.10.10:32785, 
10.0.10.10:32786, 10.0.10.10:32787, 10.0.10.10:32788, 10.0.10.10:32789, 
10.0.10.10:32790, 10.0.10.10:32791, 10.0.10.10:32792, 10.0.10.10:32793, 
10.0.10.10:32794, 10.0.10.10:32795, 10.0.10.10:32796, 10.0.10.10:32797, 
10.0.10.10:32798, 10.0.10.10:32799, 10.0.10.10:32800, 10.0.10.10:32801, 
10.0.10.10:32802, 10.0.10.10:32803, 10.0.10.10:32804, 10.0.10.10:32805, 
10.0.10.10:32806, 10.0.10.10:32807, 10.0.10.10:32808, 10.0.10.10:32811, 
10.0.10.10:32814, 10.0.10.10:32817, 10.0.10.10:32818]
  | 2005-07-21 15:25:47,836 INFO  [org.jboss.cache.TreeCache] received the 
state (size=30 bytes)
  | 

Are these now correctly hooked up?

How do I configure jboss-cache and hibernate to replicate state to two seperate 
databases on the two seperate servers?

I recall reading that you should not use CacheLoaders with hibernate, however 
the documentation of Jboss-cache seems to imply that you get replication into 
databases using CacheLoaders?

Thanks,

James.


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

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


---
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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: My two nodes won't stop arguing.

2005-07-21 Thread jameselliot
I had to open up a lot of other ports so the two servers could find each other.

Now one server seems to have added its self to the group lots of times:

2005-07-21 12:15:45,647 INFO  [org.jboss.cache.TreeCache] viewAccepted(): new 
members: [10.0.10.50:32779, 10.0.10.10:36760, 10.0.10.10:36761, 
10.0.10.10:36762, 10.0.10.10:36763, 10.0.10.10:36764, 10.0.10.10:36765, 
10.0.10.10:36766, 10.0.10.10:36767, 10.0.10.10:36768, 10.0.10.10:36769, 
10.0.10.10:36770, 10.0.10.10:36771, 10.0.10.10:36772, 10.0.10.10:36773, 
10.0.10.10:36774, 10.0.10.10:36775, 10.0.10.10:36776, 10.0.10.10:36777, 
10.0.10.10:36778, 10.0.10.10:36779, 10.0.10.10:36780, 10.0.10.10:36781, 
10.0.10.10:36782, 10.0.10.10:36783, 10.0.10.10:36784, 10.0.10.10:36785, 
10.0.10.10:36786, 10.0.10.10:36787, 10.0.10.10:36788, 10.0.10.10:36789, 
10.0.10.10:36790, 10.0.10.10:36791, 10.0.10.10:36792, 10.0.10.10:36793, 
10.0.10.10:36796, 10.0.10.10:36799, 10.0.10.10:36802, 10.0.10.10:36806]


Can this be right?

Has anyone done a worked example of jboss-cache with hibernate?  Considering 
these are two core parts of Jboss they seem very badly documented.  Can you 
recommend a book, or an article somewhere?

Still seem to be a long way from a replicated cache, replicating state to two 
databases.

-James.

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

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


---
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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: My two nodes won't stop arguing.

2005-07-20 Thread [EMAIL PROTECTED]
The members don't find each other. I suggest download JGroups and follow the 
instructions in INSTALL.html for troubleshooting.
Use ViewDemo or Draw to see whether they find each other and form a group. Only 
after this is successful would I suggest to try JBossCache

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

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


---
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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user