2 Replies Latest reply on Mar 19, 2013 11:26 PM by toby saville

    How to disable cluster mode when deploying in server/all/

    dimitar dimitar Newbie

      I have deployed my ear in all/deploy direcotiry, starting jboss on localhost. Everything was working fine, but when i needed to start jboss with binding on an IP, it detects other jboss AS which are running in the same network. I try to deploy the ear in default direcotry but the queues that i have did not work i.e. the MDB which receives messages from the queue does not receive anything.

       

      Please advice.

        • 1. Re: How to disable cluster mode when deploying in server/all/
          dimitar dimitar Newbie
          The easiest way is to define different multicast address and additionally if you want set different partition name to every jboss instance.
          • 2. Re: How to disable cluster mode when deploying in server/all/
            toby saville Novice

            i konw this is an old thread, but i disabled clustering on my jboss eap 5 "production" profile by doing:

             

            delete deploy/cluster

            delete farm

            delete deploy-hasingleton

            remove the following section from the BootstrapProfileFactory bean defined in conf/bootstrap/profile.xml

            <property name="farmURIs">

                     <list elementClass="java.net.URI">

                        <value>${jboss.server.home.url}farm</value>

                     </list>

                  </property>

             

            remove the following section from the VFSCache  bean defined in conf/bootstrap/vfs.xml

            <entry>

                      <key>${jboss.server.home.url}farm</key>

                      <value><inject bean="VfsNamesExceptionHandler"/></value>

                    </entry>

             

            ive only tested that http works after as this is the only service i need.