Title: Make Changes to Your Application for Clustering Describe the issue: Migration guide, part 3.2.7.: Clustering changes. This difference is missing: In EAP5, user was able to specify a cache mode via command line and system property: -Djboss.cluster.buddyRepl (via the same mechanism as described in part 5: Use an alternate protocol stack) In EAP6, there is not buddy replication, user should use DIST cache mode instead.
More information from an email thread: On 07/02/2013 03:42 AM, Duncan Doyle wrote: > Jumping on this thread a bit late, but maybe this additional information can help. As far as I know, the Infinispan Web Cache (the HTTP session cache) in EAP6 uses replication by default (async replication, just like JBoss Cache did in 5). To use Infinispan DIST mode, you need to explicitly configure it: https://access.redhat.com/site/solutions/349973 > Cheers, > Duncan The second CLI command in the kbase article doesn't work for me though: $ bin/jboss-cli.sh --connect [standalone@localhost:9999 /] /subsystem=infinispan/cache-container=web/:write-attribute(name=default-cache,value=dist) { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" } } [standalone@localhost:9999 /] :reload {"outcome" => "success"} [standalone@localhost:9999 /] /subsystem=infinispan/cache-container=web/distributed-cache=dist/:write-attribute(name=owners,value=3) { "outcome" => "failed", "failure-description" => "JBAS014807: Management resource '[ (\"subsystem\" => \"infinispan\"), (\"cache-container\" => \"web\"), (\"distributed-cache\" => \"dist\") ]' not found", "rolled-back" => true }
Added step 6. Replace Buddy Replication Fix is staged here: http://documentation-devel.engineering.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/6.1/html-single/Migration_Guide/index.html#sect-Clustering_Changes