From Documentation

Jump to: navigation, search


Before You Start

You have to configure the following setting for Web and JBoss.


  • According to JBoss' tutorial, it is required to add the following settings in WEB-INF/web.xml if you are doing clustering in JBoss.
<?xml version="1.0"?>
<web-app  xmlns=""



  • Create jboss-web.xml file under under XXX/WEB-INF folder(XXX is like ZKsandbox in the war file) if fileupload component is used in your app.

For example,

    <context-root>warFileName</context-root> <!-- context-root should be the same with war file name -->    

Setting up JBoss 5.1.0 Clusters with Apache Load Balance

After you have done the settings above, please follow JBoss' official document to set up a JBoss Clustered Server here.

Version History

Last Update : 2012/4/6

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.

You got stuck here?
Let us know how we can improve this page
For specific questions please use the forum