5 Replies Latest reply on Feb 21, 2013 11:24 AM by Chris Hiner

    Create profile via CLI

    Chris Hiner Newbie

      I'm trying to create a new profile via the CLI, but I'm getting an error message:

       

      [domain@localhost:9999 /] /profile=dummy:add()

      {

          "outcome" => "failed",

          "failure-description" => {"domain-failure-description" => "Failed to persist configuration change: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to marshal configuration"},

          "rolled-back" => true

      }

       

      [domain@localhost:9999 /] /profile=dummy:add(includes=ha)

      {

          "outcome" => "failed",

          "failure-description" => {"domain-failure-description" => "Failed to persist configuration change: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to marshal configuration"},

          "rolled-back" => true

      }

       

      I can create new profiles by editing the config.xml file but I'd like to create them via the CLI. 

      I've tried it with nightly builds 1531 and 1594 and get the same result with both.

       

      Is this a known issue, or am I doing something wrong?