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

CLI gets fooled by early connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.DR11
    • 7.0.0.DR9
    • CLI, Management
    • None

      CLI in confused by early connection to domain which is booting. CLI acts as I was connected to the standalone instance, some high level commands are not executable.

      [pkremens@dhcp-10-40-5-149 bin]$ ./domain.sh
      ...
      # run while domain is booting
      [pkremens@dhcp-10-40-5-149 bin]$ ./jboss-cli.sh -c 
      [standalone@localhost:9999 /]
      
      # domain has fully booted
      
      [standalone@localhost:9999 /] ls -l
      ATTRIBUTE                VALUE                 TYPE   
      launch-type              DOMAIN                STRING
      ...
      [standalone@localhost:9999 /] shutdown --host=master
      --host is not allowed in the standalone mode.
      

            olubyans@redhat.com Alexey Loubyansky
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: