[Clustering/JBoss] - mutlihomed, multi-instance JBoss nodes w/ clustering - How c
by keyhman
My test machines are both mutlihomed (6 NICS a piece).
I want to dedicate 1 NIC for the multicast traffc, 1 for mgmt, and 2 (bonded) for incoming connections to the HTTP listner.
Each test machine has sun jdk 1.5.0_12
Each test machine has Jboss AS 4.0.5-GA
Using the service binding manager, I've configured 4 instances of JBoss on each test machine.
Each instance of jboss has it's own set of ports.
On each machine, every instance is passed a different value for the Partition Name.
So after starting all 4 jboss instances, I should have 4 clusters (1 node a piece). So far so good.
The problem is when I copy these configs to the second test machine and try to start a second instance of JBoss for each of the 4 running clusters - this is where things get very strange:
based on the logs, it appears that the instances see each, but one of the two get's evicted almost immediately with no recovery.
There are numerous messsages about suspect mutlicast traffic -- and I'm guessing this is because I have 4 processes binding to a single nic for multicast traffic - but each instance has been configured with specific mcast_port so the messages shouldn't be interfering but it looks like they are.
First question: is what I'm trying even possible using multi-cast?
Second question: are there extra settings outside cluster-service.xml and the port bindings file that I need to configure to enable mutliple instances of JBoss to use mutli-cast messaging over a single NIC?
Are there any special caveats, settings, or other details related to a configuration like this I should be aware of?
I did my best to scour the internet before posting, there aren't too many people who talk about a configuration similar to mine.
If I did miss something, please feel free to point me in the right direction. All help appreciated and welcome.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059335#4059335
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059335
17Â years, 5Â months
[JBoss Seam] - How to build Seam from CVS
by jqueryï¼ interia.pl
Hello,
I haven't been building Seam for certain time. Earlier I was using Seam version 1.2.1 and I was building it from CVS running build.xml under Eclipse (without any problem). Now I get the following error:
| cdk:
| [java] [INFO] Scanning for projects...
| [java] [INFO] Reactor build order:
| [java] [INFO] Seam Project
| [java] [INFO] Seam JSF Controls
| [java] [INFO] ----------------------------------------------------------------------------
| [java] [INFO] Building Seam Project
| [java] [INFO] task-segment: [package]
| [java] [INFO] ----------------------------------------------------------------------------
| [java] [INFO] ------------------------------------------------------------------------
| [java] [ERROR] BUILD ERROR
| [java] [INFO] ------------------------------------------------------------------------
| [java] [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found
| [java] [INFO] ------------------------------------------------------------------------
| [java] [INFO] For more information, run Maven with the -e switch
| [java] [INFO] ------------------------------------------------------------------------
| [java] [INFO] Total time: < 1 second
| [java] [INFO] Finished at: Fri Jun 29 21:13:25 CEST 2007
| [java] [INFO] Final Memory: 1M/3M
| [java] [INFO] ------------------------------------------------------------------------
| [java] Java Result: 1
|
| BUILD FAILED
| G:\Work\jbosside3\eclipse\workspace\jboss-seam\build.xml:767: Warning: Could not find file G:\Work\jbosside3\eclipse\workspace\jboss-seam\ui\target\jboss-seam-ui.jar to copy.
|
Thanks for any help solving the problem.
jquery
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059333#4059333
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059333
17Â years, 5Â months
[Clustering/JBoss] - Re: HA-JNDI and JNDI for cluster access
by timjer
"bstansberry(a)jboss.com" wrote : To continue your use case beyond what you wrote to include actual use of the context:
|
| Object foo = context.lookup("Foo");
|
| .... then server context has connected to fails or is shut down
|
| Object bar = context.lookup("Bar");
|
| 1) With case2, the lookup of "Bar" will succeed; with case1 it will not. The case2 client side naming proxy includes clustering behavior that supports transparent failover.
|
| 2) In the above example, with case2 the lookups will be load balanced to the available servers; in case 1 they will all go to server1.
|
| Hmm? you mean in case1 only server1 aktiv? server2 and server3 will be ignored?
| there is not difference betwenn
| props.put("java.naming.provider.url", "server1:1099,server2:1099,server3:1099");
| and
| props.put("java.naming.provider.url", "server1:1099,");
| or sorry i don`t understand :-)
|
|
|
| 3) If "Foo" were only bound in JNDI on server2, the lookup of Foo will fail in case1; with case2 the server-side HA-JNDI service on whatever server the client connects to will transparently find Foo and return it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059330#4059330
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059330
17Â years, 5Â months