1 Reply Latest reply on Mar 29, 2009 10:11 AM by brian.stansberry

    How to cluster a .ear/.war/.jar/.rar on AS5.0?

    amlodzin

      The FarmService from AS 4 apparently provided a synch service for deployments - which presumably kept a deployment in synch on all cluster members. It also had the capability of distributing a deployment from one cluster member to all other cluster memebers.

      In AS 5.0, without the farm service, how does one deploy an application that is supposed to be clustered? Do I manually copy the deployment file to each cluster member myself? If so, that's fine, albeit inconvenient, but still doable. But, how do I indicate that a deployment is to be distributed?

      Again, in AS 4, the farm service defined a specific directory, the contents of which were deployments intended for clustering/distribution. But AS5 doesn't have the farm service, hence no such directory. How then do I tell AS5 to cluster/distribute a deployment? On the flipside, how do I ensure a deployment is not clustered/distributed when the AS instance is participating in a cluster?

      Btw, I'm looking at JBoss 5.0.0.GA - until it is EOL'd, I will have to use it.

        • 1. Re: How to cluster a .ear/.war/.jar/.rar on AS5.0?
          brian.stansberry

          In 5.0 you manually copy the deployment file to each cluster member. When you make updates you copy again.

          The farming functionality will be restored in 5.1.0.

          But how do I indicate that a deployment is to be distributed?


          The only thing farming does it copy the deployment around the cluster; it doesn't affect the behavior of the deployment at all. E.g putting a war in farm/ never had the effect of enabling session replication.