Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Clustering on JBoss3.2+ & 4+

843830Mar 7 2006
I want to know the comple method :- how to create multiple instances of a server on a single machine to form a cluster (I mean which all files we need to change) & how to put them into a cluster & how to use that cluster.
Can anybody tell me the steps involved.
What I tried so far..........
I made some changes into the sample-bindings.xml .
Copied all folder rename them to node1 & node2.
then into the node1\conf\jboss-service.xml & node2conf\jboss-service.xml
I made
<mbean code="org.jboss.services.binding.ServiceBindingManager"
name="jboss.system:service=ServiceBindingManager">
<attribute name="ServerName">ports-node1</attribute>
<attribute name="StoreURL">
../docs/examples/binding-manager/sample-bindings.xml
</attribute>
<attribute name="StoreFactoryClassName">
org.jboss.services.binding.XMLServicesStoreFactory
</attribute>
</mbean>
Similarly in node2.
I configured all at port 8080,node 1 at 8081,node2 at 8281.
Now I am able to form a cluster.....as it is defalut provided by jboss..
But I am able to access on the port :8080, node1 at 8081 & node2 at 8281.
but when I shutdown the all server then it stopped working.
on port 8180 & 8280 its still working.may be I have skipped something..
so can anyone have any idea about that.
I am really in need .
I also tried mod-jk & apache 1.3 for load sharing........can anyone help me in that too.
I will be very gratful to you
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 4 2006
Added on Mar 7 2006
0 comments
100 views