Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18971

JBOSS CLI Automation fails with The command is not available in the current context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.0.GA, 7.2.0.GA, 7.3.0.GA
    • CLI, Server
    • Hide

      execute the attached with jboss cli
      jboss-cli.bat --file=~/home/sridhar/jboss-cli.txt

      Show
      execute the attached with jboss cli jboss-cli.bat --file=~/home/sridhar/jboss-cli.txt

    Description

      The attached script failes to execute with the error "The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable)." as a script. But these command executes perfectly when executed one by one.
      Observation is that, when used embedded-server, it is failing to execute the conditional statements. But it was no where specified that conditional statements are not supported when using embedded-server.

      Attachments

        Activity

          People

            jdenise@redhat.com Jean Francois Denise
            sratna Sridhar Reddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: