[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel
Jason wrote: -- Why are you using gossip? You dont need a gossip router to do TCP. Also gossip isn't preferable for a cache setup. --- I am planning to use TCPPING but as it is creating problem, temporarily i am using Gossip. When i use TCPPING then it is not reconnecting When

[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel
anonymous wrote : BTW, if you pull the cable long enough for a network split/partition to occur, and later reconnect the cable, then you will trigger a mergeview, which JBoss Cache does not handle (you have to handle the condition in application code via a cache listener). Using ViewChanged

[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel
I found it. Actually for TCP, Either we have to specify all the host names in TCPPING initial_hosts or we have to use MPING . Regards, Nachiket View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4197087#4197087 Reply to the post :

[jboss-user] [Beginners Corner] - New to JBoss, where to start??

2008-12-17 Thread nachiket_patel
Hello, I am new to JBoss. Just started reading and creating prototypes before one week using JBoss PojoCache eventually learned about JGroups. (Only basics) Based on my little knowledge about JBoss, It is built upon ground level technologies to higher level technologies, like JGroups is used

[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel
I found it. Actually for TCP, Either we have to specify all the host names in TCPPING initial_hosts or we have to use MPING . Regards, Nachiket View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4197084#4197084 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - Re: About Merging States on Merge of two sub groups.

2008-12-17 Thread nachiket_patel
Thanks Manik, I think Shutting down and restarting will work in our case, as there is only one writer server, which will be initial host, and only one who will write to cache, so server instance of cache will be correct one always. Only disconnected instance (reader) needs to restart itself,

[jboss-user] [JBoss Cache: Core Edition] - Re: What's wrong with this configuration??

2008-12-17 Thread nachiket_patel
My disconnect application(150.0.149.108) [which is not a merge Leader] is connected back to the network, then this messages are logged repeatedly. | 2008-12-17 15:56:40,284 DEBUG [GMS] (ViewHandler,150.0.149.108:7957) Determining merge leader from coordinators: [150.0.149.105:7957,

[jboss-user] [JBoss Cache: Core Edition] - About Merging States on Merge of two sub groups.

2008-12-17 Thread nachiket_patel
Hello, I am getting more familiar with JBoss Cache. I got very much confused and scared in past 3 to 4 days. Because of zero knowledge of JBoss Cache as well as JGroups. And i was trying to avoid JGroup internals initially, lately ended in poor understanding. But now (I feel) i am much clear

[jboss-user] [JBoss Cache: Core Edition] - Re: Using TCP, Unable to reconnect. Don't know why?

2008-12-15 Thread nachiket_patel
Hi bela, I am having one question, How come sequence matters Why you have not used ?? And You pasted UDP config. So now i think i should refer to TCP config given in JGroups.jar. Thanks Nachiket View the original post :

[jboss-user] [JBoss Cache: Core Edition] - Re: Using TCP, Unable to reconnect. Don't know why?

2008-12-15 Thread nachiket_patel
Hello, Thanks for help, now it is working. I am using given configuration for TCP. TCP start_port=7800 discard_incompatible_packets=true max_bundle_size=64000 max_bundle_timeout=30

[jboss-user] [JBoss Cache: Core Edition] - Re: Using TCP, Unable to reconnect. Don't know why?

2008-12-15 Thread nachiket_patel
No, It is not possible, i have to configure it for Wifi network, so disconnection frequency will be high, but our data is very less (400 to 2000 elements - each contains 3 to 4 primitives and very less update frequency) . So reconnection time should be minimized. Any guidance will be

[jboss-user] [JBoss Cache: Core Edition] - num_initial_members and num_inital_svr_member

2008-12-15 Thread nachiket_patel
Hello guys, What is num_initial_members?? Unable to get. How it helps?? What is num_initial_svr_members?? What's the difference between num_initial_members num_initial_svr_members??? Cheers, View the original post :

[jboss-user] [JBoss Cache: Core Edition] - Re: Using TCP, Unable to reconnect. Don't know why?

2008-12-15 Thread nachiket_patel
Hello, Thanks for help, now it is working. I am using given configuration for TCP. TCP start_port=7800 discard_incompatible_packets=true max_bundle_size=64000 max_bundle_timeout=30

[jboss-user] [JBoss Cache: Core Edition] - Re: How to listen to network connected and disconnected even

2008-12-15 Thread nachiket_patel
Hi, I added as you said, but no event is fired. I am using GossipRouter, When i stop gossip router, i get these error printed internally. But event is not fired and executed. 2008-12-16 09:05:01,553 ERROR [GossipClient] (Timer-4,150.0.149.105:7800) exception connecting to host

[jboss-user] [JBoss Cache: Core Edition] - Re: How to listen to network connected and disconnected even

2008-12-15 Thread nachiket_patel
Hello, I am using TCP and GossipRouter. No event is getting fired. I change it to UDP and still no event is fired. But Guess what? when i disconnect network of one UDP app instance, and at the time of connection of network , event got fired. ?? I am getting more and more

[jboss-user] [JBoss Cache: Core Edition] - Re: How to listen to network connected and disconnected even

2008-12-14 Thread nachiket_patel
Yes, Thank you for guidance. But i want to listen to own computer's events also, When i disable Network, so application shows exception stack, which i think handled interally, I want to catch it in my code [or listen to events]. View the original post :

[jboss-user] [JBoss Cache: Core Edition] - Using TCP, Unable to reconnect. Don't know why?

2008-12-14 Thread nachiket_patel
Hello, I have changed my communication from UDP to TCP, But when i diconnect and connect again, My application instances(2) does not get connected automatically but if i change back to UDP then it does. Snapshot of Configuration: TCP start_port=7800/

[jboss-user] [JBoss Cache: Core Edition] - How to listen to network connected and disconnected events.

2008-12-12 Thread nachiket_patel
Hello guys, I want to listen to network connected or disconnected events, In cache application. So i can block reads by users after say 1 min. Do i have to look for this into JGroups??? Or Cache have specific events??? Regards, Nachiket View the original post :