[Clustering/JBoss] - Clustering problem
by earniedyke
Greetings all.
We have two nodes, each on its own Win 2000 server, in our production environment. A couple of weeks ago we had to reboot the servers and restart the JBoss instances. Both instances started fine but they no longer see each other as a cluster. No changes where made to cluster-service.xml on either server. I can't seem to find out why they can't see each other anymore. Here is a snipet from cluster-service.xml:
<attribute name="PartitionConfig">
| <Config>
| <!-- UDP: if you have a multihomed machine,
| set the bind_addr attribute to the appropriate NIC IP address -->
| <!-- UDP: On Windows machines, because of the media sense feature
| being broken with multicast (even after disabling media sense)
| set the loopback attribute to true -->
| <!--UDP mcast_addr="228.1.2.3" mcast_port="45566"-->
| <UDP mcast_addr="228.1.2.1" mcast_port="45566"
|
| ip_ttl="32" ip_mcast="true"
| mcast_send_buf_size="800000" mcast_recv_buf_size="150000"
| ucast_send_buf_size="800000" ucast_recv_buf_size="150000"
| loopback="true" />
| <PING timeout="2000" num_initial_members="3"
| up_thread="true" down_thread="true" />
| <MERGE2 min_interval="10000" max_interval="20000" />
| <FD shun="true" up_thread="true" down_thread="true"
| timeout="2500" max_tries="5" />
| <VERIFY_SUSPECT timeout="3000" num_msgs="3"
| up_thread="true" down_thread="true" />
| <pbcast.NAKACK gc_lag="50" retransmit_timeout="300,600,1200,2400,4800"
| max_xmit_size="8192"
| up_thread="true" down_thread="true" />
| <UNICAST timeout="300,600,1200,2400,4800" window_size="100" min_threshold="10"
| down_thread="true" />
| <pbcast.STABLE desired_avg_gossip="20000"
| up_thread="true" down_thread="true" />
| <FRAG frag_size="8192"
| down_thread="true" up_thread="true" />
| <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
| shun="true" print_local_addr="true" />
| <pbcast.STATE_TRANSFER up_thread="true" down_thread="true" />
| </Config>
| </attribute>
|
Note the mcast_addr is 228.1.2.1. I tried executing the Draw demo program to test things, one instance on each server, and nothing was shared. I did notice however that in the log that is displayed by the Draw program the mcast_addr=228.8.8.8. It was the same on both servers.
I am at a loss and am looking for any and all suggestions.
Thanks in advance!!!
Earnie!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964617#3964617
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964617
19 years, 9 months
[Beginners Corner] - Porting a simple RMI client-server app to JBoss
by beastie2
Hello, zen fans of JBoss,
I am pretty much new to JBoss. I have read a few articles, searched about the different alternatives and decided to give JBoss a real try. But, what I am trying to do is rather unusual, and it's a huge challenge to find documentation on that specific topic.
I have an 'old' application, that I have been writing for 2 years now. It's a simple RMI client-server application, backed by a database on the server-side. It's a standalone RMI server, and the client is a simple Swing client, connecting to the server through a single exported object.
I want to port that application into a JBoss server, for flexibility and future extendability. As a matter of fact, I want to integrate email sending functionnalities and soon add web capabilities to access the data contained in the system. JBoss seemed the way to go.
So... how can I do that, with minimum hassle? I have my JBoss server setup on my dev machine, but now how do I tell JBoss "Hey, dude, boot that thing up!"... It used to be a simple main() method starting the whole server program, opening up the RMI registry on a specified port and exporting the server object on it.
I'd guess i need to wrap my program in a EAR package, with some descriptor to tell the server there is an exportable (or do I need to implement activatable?) object in there and it needs to be exported on an RMI registry?.. Or, would I need to wrap my application inside an EJB?
Well, if you have ideas, I'd love to hear them. Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964611#3964611
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964611
19 years, 9 months