Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-179

CLONE - Adding modcluster via the CLI fails.

    XMLWordPrintable

Details

    • Hide

      Take a standard standalone install.

      Add to extensions:
      /extension=org.jboss.as.modcluster:add()

      now add the subsystem:
      /subsystem=modcluster:add()
      {
      "outcome" => "failed",
      "failure-description" => "JBAS014746: connector may not be null",
      "rolled-back" => true
      }

      but the add() operation does not allow any parameters.

      Show
      Take a standard standalone install. Add to extensions: /extension=org.jboss.as.modcluster:add() now add the subsystem: /subsystem=modcluster:add() { "outcome" => "failed", "failure-description" => "JBAS014746: connector may not be null", "rolled-back" => true } but the add() operation does not allow any parameters.
    • Workaround Exists
    • Hide

      /:composite(steps=[

      {"operation" => "add", "address" => [ ("subsystem" => "modcluster") ] }

      ,

      { "operation" => "add", "address" => [ ("subsystem" => "modcluster"), ("mod-cluster-config" => "configuration") ], "connector" => "ajp", "balancer" => "my", "advertise" => "false", "proxy-list" => "zen" }

      ])

      Note that the AJP connector needs to exist, if not, create it with something like this:
      /subsystem=web/connector=ajp:add(name=ajp,protocol=ajp,scheme=ajp,socket-binding=ajp)

      Show
      /:composite(steps=[ {"operation" => "add", "address" => [ ("subsystem" => "modcluster") ] } , { "operation" => "add", "address" => [ ("subsystem" => "modcluster"), ("mod-cluster-config" => "configuration") ], "connector" => "ajp", "balancer" => "my", "advertise" => "false", "proxy-list" => "zen" } ]) Note that the AJP connector needs to exist, if not, create it with something like this: /subsystem=web/connector=ajp:add(name=ajp,protocol=ajp,scheme=ajp,socket-binding=ajp)

    Description

      Adding modcluster via the CLI fails.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              tfonteyn Tom Fonteyne (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: